add label
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@213 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
b07ee601cd
commit
406452391b
18 changed files with 167 additions and 15 deletions
|
|
@ -8,8 +8,10 @@ namespace MwOO {
|
|||
class Button : public MwOO::Base {
|
||||
public:
|
||||
Button(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void SetPixmap(void* value);
|
||||
void* GetPixmap(void);
|
||||
void SetPixmap(void* value);
|
||||
void* GetPixmap(void);
|
||||
void SetText(const char* value);
|
||||
const char* GetText(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ namespace MwOO {
|
|||
class CheckBox : public MwOO::Base {
|
||||
public:
|
||||
CheckBox(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void SetPixmap(void* value);
|
||||
void* GetPixmap(void);
|
||||
void SetChecked(int value);
|
||||
int GetChecked(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
|
|
|||
18
include/MwOO/Widget/Label.h
Normal file
18
include/MwOO/Widget/Label.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/* $Id$ */
|
||||
#ifndef __MWOO_WIDGET_LABEL_H__
|
||||
#define __MWOO_WIDGET_LABEL_H__
|
||||
|
||||
#include <MwOO/Base.h>
|
||||
|
||||
namespace MwOO {
|
||||
class Label : public MwOO::Base {
|
||||
public:
|
||||
Label(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void SetText(const char* value);
|
||||
const char* GetText(void);
|
||||
void SetAlignment(int value);
|
||||
int GetAlignment(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
#endif
|
||||
|
|
@ -8,6 +8,8 @@ namespace MwOO {
|
|||
class Window : public MwOO::Base {
|
||||
public:
|
||||
Window(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void SetTitle(const char* value);
|
||||
const char* GetTitle(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue