|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Announcements
Chapters
Services
Feature Zones
|
The used colors are just for highlighting the power of the menu, they can be changed. IntroductionPrincipal class is #define FADE_NONE 0x00 // No 3D Fade #define FADE_HORZ 0x01 // Fade 3D HORZ #define FADE_VERT 0x02 // Fade 3D VERT #define FADE2D_NONE 0x00 // No 2D Fade #define FADE2D_HORZ 0x10 // Fade 2D HORZ #define FADE2D_VERT 0x20 // Fade 2D VERT #define MENU_NONE 0x00 // undefined type of menu #define MENU_SIMPLE 0x01 // normal menu item #define MENU_POPUP 0x02 // pop-up menu item MembersCOLORREF m_Bk2DPop; // Start color (background) at 2D on pop-up menus COLORREF m_Txt2DPop; // Text color at 2D on pop-up menus COLORREF m_Bk2DMen; // Start color (background) at 2D on menus COLORREF m_Txt2DMen; // Text color at 2D on menus COLORREF m_Bk3DPop; // Start color (background) at 3D on pop-up menus COLORREF m_Txt3DPop; // Text color at 3D on pop-up menus COLORREF m_Bk3DMen; // Start color (background) at 3D on menus COLORREF m_Txt3DMen; // Text color at 2D on menus COLORREF m_Fade2DPop; // End color for 2D used at FADE on pop-up menus COLORREF m_Fade3DPop; // End color for 3D used at FADE on pop-up menus COLORREF m_Fade2DMen; // End color for 2D used at FADE on menus COLORREF m_Fade3DMen; // End color for 3D used at FADE on menus protected: // settings of control COLORREF m_ColCheck; // Color of Check COLORREF m_ColSepar; // Color of separator(MF_SEPARATOR) COLORREF m_BkGray; // Color background for Gray value COLORREF m_TxtGray; // Color text for Gray value UINT m_FadeTypeMen; // At 2D FADE for menu start //color m_Bk2DMen TO end //color m_Fade2DMen for menus // At 3D FADE for menu start color //m_Bk3DMen TO end color m_Fade3DMen for menus UINT m_FadeTypePop; // At 2D FADE for menu start //color m_Bk2DPop TO end //color m_Fade2DPop for pop-up menus // At 3D FADE for menu start color //m_Bk3DPop TO end color //m_Fade3DPop for pop-up menus int m_Val3D; // Deep 3D value int m_HeightSep; // Height of separator int m_HeightCel; // Height of a menu item int m_WidthCel; // Width of a menu item VTYPE_ITEMCONT* m_itemsStr; // internal Use VTYPE_MENUCOLOR* m_HandlesMenu; // internal Use Steps
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||