blob: 3070e8ebae78c39d8e493a805b7563f128866580 (
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
|
#ifndef __TABSHEETBAR_H
#define __TABSHEETBAR_H
#include <api/wnd/wndclass/guiobjwnd.h>
class GroupTabButton;
#define TABSHEETBAR_PARENT GuiObjectWnd
/**
Class
@short
@author Nullsoft
@ver 1.0
@see
*/
class TabSheetBar : public TABSHEETBAR_PARENT
{
public:
TabSheetBar();
virtual ~TabSheetBar();
virtual int onInit();
virtual int onResize();
virtual void addChild(GroupTabButton *child);
virtual int getHeight();
virtual int childNotify(ifc_window *child, int msg, intptr_t param1 = 0, intptr_t param2 = 0);
void setMargin(int m) { margin = m; if (isInited()) onResize(); }
void setSpacing(int s) { spacing = s; if (isInited()) onResize(); }
private:
int maxheightsofar;
PtrList<GroupTabButton> btns;
int margin, spacing;
GuiObjectWnd bottombar;
};
#endif
|