mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-06 17:39:45 +00:00
add cursor
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@230 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -12,6 +12,10 @@ class Button : public MwOO::Base {
|
||||
void* GetPixmap(void);
|
||||
void SetText(const char* value);
|
||||
const char* GetText(void);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
@@ -8,8 +8,12 @@ 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 SetChecked(int value);
|
||||
int GetChecked(void);
|
||||
void SetChecked(int value);
|
||||
int GetChecked(void);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
@@ -8,6 +8,10 @@ namespace MwOO {
|
||||
class Frame : public MwOO::Base {
|
||||
public:
|
||||
Frame(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
@@ -8,8 +8,12 @@ namespace MwOO {
|
||||
class Image : public MwOO::Base {
|
||||
public:
|
||||
Image(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 SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
@@ -12,6 +12,10 @@ class Label : public MwOO::Base {
|
||||
const char* GetText(void);
|
||||
void SetAlignment(int value);
|
||||
int GetAlignment(void);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@ namespace MwOO {
|
||||
class Menu : public MwOO::Base {
|
||||
public:
|
||||
Menu(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
MwMenu Add(MwMenu menu, const char* name);
|
||||
MwMenu Add(MwMenu menu, const char* name);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
@@ -8,9 +8,13 @@ namespace MwOO {
|
||||
class OpenGL : public MwOO::Base {
|
||||
public:
|
||||
OpenGL(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void MakeCurrent(void);
|
||||
void* GetProcAddress(const char* name);
|
||||
void SwapBuffer(void);
|
||||
void MakeCurrent(void);
|
||||
void* GetProcAddress(const char* name);
|
||||
void SwapBuffer(void);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
@@ -8,17 +8,21 @@ namespace MwOO {
|
||||
class ScrollBar : public MwOO::Base {
|
||||
public:
|
||||
ScrollBar(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
int GetVisibleLength(void);
|
||||
void SetAreaShown(int value);
|
||||
int GetAreaShown(void);
|
||||
void SetValue(int value);
|
||||
int GetValue(void);
|
||||
void SetMinValue(int value);
|
||||
int GetMinValue(void);
|
||||
void SetMaxValue(int value);
|
||||
int GetMaxValue(void);
|
||||
void SetOrientation(int value);
|
||||
int GetOrientation(void);
|
||||
int GetVisibleLength(void);
|
||||
void SetAreaShown(int value);
|
||||
int GetAreaShown(void);
|
||||
void SetValue(int value);
|
||||
int GetValue(void);
|
||||
void SetMinValue(int value);
|
||||
int GetMinValue(void);
|
||||
void SetMaxValue(int value);
|
||||
int GetMaxValue(void);
|
||||
void SetOrientation(int value);
|
||||
int GetOrientation(void);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
@@ -8,7 +8,11 @@ namespace MwOO {
|
||||
class SubMenu : public MwOO::Base {
|
||||
public:
|
||||
SubMenu(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void Appear(MwMenu menu, MwPoint* point);
|
||||
void Appear(MwMenu menu, MwPoint* point);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
@@ -8,8 +8,12 @@ namespace MwOO {
|
||||
class Text : public MwOO::Base {
|
||||
public:
|
||||
Text(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void SetChecked(int value);
|
||||
int GetChecked(void);
|
||||
void SetChecked(int value);
|
||||
int GetChecked(void);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
@@ -8,11 +8,15 @@ namespace MwOO {
|
||||
class Vulkan : public MwOO::Base {
|
||||
public:
|
||||
Vulkan(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void EnableExtension(void);
|
||||
void EnableLayer(void);
|
||||
void Configure(void);
|
||||
void* GetField(MwVulkanField field, MwErrorEnum* out);
|
||||
VkBool32 Supported(void);
|
||||
void EnableExtension(void);
|
||||
void EnableLayer(void);
|
||||
void Configure(void);
|
||||
void* GetField(MwVulkanField field, MwErrorEnum* out);
|
||||
VkBool32 Supported(void);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
@@ -10,6 +10,10 @@ class Window : public MwOO::Base {
|
||||
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);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
|
||||
Reference in New Issue
Block a user