#include <Widgets.h>
Inheritance diagram for CB2::Size:
Public Types | |
enum | size_type { px, em } |
Unit type. More... | |
Public Member Functions | |
Size (const int value, const size_type type) | |
Constructor. | |
String | GetSize () const |
Get size value including unit. | |
Public Attributes | |
int | tag |
Tag for user-specific data. | |
Private Attributes | |
int | svalue |
Scalar value. | |
size_type | stype |
Units. |
Instances of this class hold scalar size (length) values including the units.
|
Unit type.
|
|
Constructor. Create size value.
|
|
Get size value including unit.
|
|
Units.
|
|
Scalar value.
|
|
Tag for user-specific data.
|