mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
add label
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@213 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user