SCV
4.2.1
Simple Components for Visual
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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> {
14
friend
class
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
26
int
_horzMargin
;
27
};
28
29
}
// namespace scv
30
31
#endif // __SCV_COMBOBOX_MENU_STYLE_H__
include
SCV
ComboBoxMenuStyle.h
Generated on Fri Dec 14 2012 09:44:48 for SCV by
1.8.2