blob: 6631657ac0c2848bfac2985b4c8861eca5c72f2a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
#ifndef __TITLEBOX_H
#define __TITLEBOX_H
#include <api/wnd/wndclass/guiobjwnd.h>
#define TITLEBOX_PARENT GuiObjectWnd
/**
Titlebox
@short
@author Nullsoft
@ver 1.0
@see
*/
class TitleBox : public TITLEBOX_PARENT {
public:
/**
Method
@see
@ret
@param
*/
TitleBox();
/**
Method
@see
@ret
@param
*/
virtual ~TitleBox();
/**
Method
@see
@ret
@param
*/
virtual int onInit();
virtual int onResize();
virtual int getCentered() { return centered; }
virtual void setCentered(int _centered);
virtual void setTitle(const wchar_t *t);
virtual const wchar_t *getTitle() { return title; }
virtual void setSuffix(const wchar_t *suffix);
const wchar_t *getSuffix() { return suffix; }
virtual void onNewContent();
virtual void setChildGroup(const wchar_t *grp);
/**
Method
@see
@ret
@param
*/
virtual int getPreferences(int what);
private:
/**
Method
@see
@ret
@param
*/
void setSubContent(int insertcontent=1);
GuiObjectWnd *titleleft;
GuiObjectWnd *titleright;
GuiObjectWnd *titlecenter;
GuiObjectWnd *content;
int centered;
StringW title;
StringW content_id;
StringW suffix;
};
#endif
|