SCV  4.2.1
Simple Components for Visual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ComboBoxMenuStyle.h
Go to the documentation of this file.
1 #ifndef __SCV_COMBOBOX_MENU_STYLE_H__
2 #define __SCV_COMBOBOX_MENU_STYLE_H__
3 
4 #include "PopupMenuStyle.h"
5 #include "Singleton.h"
6 
7 namespace scv {
8 
13 class ComboBoxMenuStyle : public PopupMenuStyle, public Singleton<ComboBoxMenuStyle> {
15 public:
16  virtual void drawItem(const scv::ContextMenu *menu, int index) const;
17 
18  virtual int calculateWidth(const scv::ContextMenu *menu) const;
19  virtual int calculateHeight(const scv::ContextMenu *menu) const;
20 
21 protected:
22  ComboBoxMenuStyle(void);
23 
24  virtual void createTexture(void);
25 
27 };
28 
29 } // namespace scv
30 
31 #endif // __SCV_COMBOBOX_MENU_STYLE_H__