24 |
#ifndef UI_LABEL_H |
#ifndef UI_LABEL_H |
25 |
#define UI_LABEL_H |
#define UI_LABEL_H |
26 |
|
|
27 |
#include "UiWidget.h" |
#include "Interface/UiWidget.h" |
28 |
|
#include "Interface/UiColor.h" |
29 |
|
|
30 |
@class UiText; |
@class UiText; |
31 |
|
|
32 |
@interface UiLabel : UiWidget |
@interface UiLabel : UiWidget |
33 |
{ |
{ |
34 |
@private |
@private |
35 |
NSString *_text; |
unsigned _textSize; |
36 |
|
color_t _color; |
37 |
|
NSString *_text; |
38 |
UiText *_uiText; |
UiText *_uiText; |
39 |
} |
} |
40 |
|
|
41 |
- (id) initWithText: (NSString *)text |
- (id) initWithText: (NSString *)text |
42 |
position: (NSPoint)position; |
position: (NSPoint)position; |
43 |
|
|
44 |
|
- (void) setTextSize: (int)textSize; |
45 |
|
- (unsigned) textSize; |
46 |
|
|
47 |
|
- (void) setColor: (color_t)color; |
48 |
|
- (color_t) color; |
49 |
|
|
50 |
- (NSString *) text; |
- (NSString *) text; |
51 |
- (void) setText: (NSString *)text; |
- (void) setText: (NSString *)text; |
52 |
|
|