mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
oops
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@435 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -2878,7 +2878,7 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre id="Mw_Widget_ListBox_h__MwListBoxInsert"><B><FONT COLOR="#228B22">void</FONT></B> <B><FONT COLOR="#0000FF">MwListBoxInsert</FONT></B> (
|
||||
<pre id="Mw_Widget_ListBox_h__MwListBoxInsert">MWDECL <B><FONT COLOR="#228B22">void</FONT></B> <B><FONT COLOR="#0000FF">MwListBoxInsert</FONT></B> (
|
||||
MwWidget handle,
|
||||
<B><FONT COLOR="#228B22">int</FONT></B> index,
|
||||
MwLLPixmap pixmap,
|
||||
@@ -2914,7 +2914,7 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre id="Mw_Widget_ListBox_h__MwListBoxInsertMultiple"><B><FONT COLOR="#228B22">void</FONT></B> <B><FONT COLOR="#0000FF">MwListBoxInsertMultiple</FONT></B> (
|
||||
<pre id="Mw_Widget_ListBox_h__MwListBoxInsertMultiple">MWDECL <B><FONT COLOR="#228B22">void</FONT></B> <B><FONT COLOR="#0000FF">MwListBoxInsertMultiple</FONT></B> (
|
||||
MwWidget handle,
|
||||
<B><FONT COLOR="#228B22">int</FONT></B> index,
|
||||
<B><FONT COLOR="#228B22">int</FONT></B> count,
|
||||
@@ -2957,7 +2957,7 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre id="Mw_Widget_ListBox_h__MwListBoxVaInsert"><B><FONT COLOR="#228B22">void</FONT></B> <B><FONT COLOR="#0000FF">MwListBoxVaInsert</FONT></B> (
|
||||
<pre id="Mw_Widget_ListBox_h__MwListBoxVaInsert">MWDECL <B><FONT COLOR="#228B22">void</FONT></B> <B><FONT COLOR="#0000FF">MwListBoxVaInsert</FONT></B> (
|
||||
MwWidget handle,
|
||||
<B><FONT COLOR="#228B22">int</FONT></B> index,
|
||||
MwLLPixmap pixmap,
|
||||
@@ -2993,7 +2993,7 @@
|
||||
</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<pre id="Mw_Widget_ListBox_h__MwListBoxVaInsertMultiple"><B><FONT COLOR="#228B22">void</FONT></B> <B><FONT COLOR="#0000FF">MwListBoxVaInsertMultiple</FONT></B> (
|
||||
<pre id="Mw_Widget_ListBox_h__MwListBoxVaInsertMultiple">MWDECL <B><FONT COLOR="#228B22">void</FONT></B> <B><FONT COLOR="#0000FF">MwListBoxVaInsertMultiple</FONT></B> (
|
||||
MwWidget handle,
|
||||
<B><FONT COLOR="#228B22">int</FONT></B> index,
|
||||
<B><FONT COLOR="#228B22">int</FONT></B> count,
|
||||
|
||||
@@ -47,6 +47,6 @@
|
||||
#define MwNcloseHandler "Cclose" /* NULL */
|
||||
#define MwNfocusInHandler "CfocusIn" /* NULL */
|
||||
#define MwNfocusOutHandler "CfocusOut" /* NULL */
|
||||
#define MwNfileChosenHandler "CfileChosen" /* char* */
|
||||
#define MwNfileChosenHandler "CfileChosen" /* char* */
|
||||
|
||||
#endif
|
||||
|
||||
@@ -27,7 +27,7 @@ MWDECL MwClass MwListBoxClass;
|
||||
* %param pixmap Pixmap
|
||||
* %param ... Text
|
||||
*/
|
||||
void MwListBoxInsert(MwWidget handle, int index, MwLLPixmap pixmap, ...); /* VA_HINT:pixmap */
|
||||
MWDECL void MwListBoxInsert(MwWidget handle, int index, MwLLPixmap pixmap, ...); /* VA_HINT:pixmap */
|
||||
|
||||
/*!
|
||||
* %brief Inserts multiple items on the listbox
|
||||
@@ -37,7 +37,7 @@ void MwListBoxInsert(MwWidget handle, int index, MwLLPixmap pixmap, ...); /* VA_
|
||||
* %param pixmap Pixmap
|
||||
* %param ... Text
|
||||
*/
|
||||
void MwListBoxInsertMultiple(MwWidget handle, int index, int count, MwLLPixmap* pixmap, ...); /* VA_HINT:pixmap */
|
||||
MWDECL void MwListBoxInsertMultiple(MwWidget handle, int index, int count, MwLLPixmap* pixmap, ...); /* VA_HINT:pixmap */
|
||||
|
||||
/*!
|
||||
* %brief Inserts item on the listbox
|
||||
|
||||
@@ -12,10 +12,6 @@ class ListBox : public MwOO::Base {
|
||||
void InsertMultiple(int index, int count, MwLLPixmap* pixmap, ...);
|
||||
void VaInsert(int index, MwLLPixmap pixmap, va_list va);
|
||||
void VaInsertMultiple(int index, int count, MwLLPixmap* pixmap, va_list va);
|
||||
void Delete(int index);
|
||||
const char* Get(int index);
|
||||
void SetWidth(int index, int width);
|
||||
void Reset(void);
|
||||
void SetLeftPadding(int value);
|
||||
int GetLeftPadding(void);
|
||||
void SetBackground(const char* value);
|
||||
|
||||
@@ -8,7 +8,6 @@ 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);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
|
||||
@@ -8,9 +8,6 @@ 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 SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
|
||||
@@ -8,7 +8,6 @@ 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);
|
||||
|
||||
@@ -8,7 +8,6 @@ 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 SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
|
||||
@@ -8,8 +8,6 @@ namespace MwOO {
|
||||
class Viewport : public MwOO::Base {
|
||||
public:
|
||||
Viewport(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
MwOO::Base GetViewport(void);
|
||||
void SetSize(int w, int h);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
|
||||
@@ -11,7 +11,6 @@ class Vulkan : public MwOO::Base {
|
||||
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);
|
||||
|
||||
@@ -8,7 +8,6 @@ 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 MakeBorderless(int toggle);
|
||||
void SetTitle(const char* value);
|
||||
const char* GetTitle(void);
|
||||
void SetMain(int value);
|
||||
|
||||
@@ -27,24 +27,6 @@ void MwOO::ListBox::VaInsertMultiple(int index, int count, MwLLPixmap* pixmap, v
|
||||
MwListBoxVaInsertMultiple(this->widget, index, count, pixmap, va);
|
||||
}
|
||||
|
||||
void MwOO::ListBox::Delete(int index){
|
||||
MwListBoxDelete(this->widget, index);
|
||||
}
|
||||
|
||||
const char* MwOO::ListBox::Get(int index){
|
||||
const char* ret;
|
||||
ret = MwListBoxGet(this->widget, index);
|
||||
return ret;
|
||||
}
|
||||
|
||||
void MwOO::ListBox::SetWidth(int index, int width){
|
||||
MwListBoxSetWidth(this->widget, index, width);
|
||||
}
|
||||
|
||||
void MwOO::ListBox::Reset(void){
|
||||
MwListBoxReset(this->widget);
|
||||
}
|
||||
|
||||
void MwOO::ListBox::SetLeftPadding(int value){
|
||||
MwSetInteger(this->widget, MwNleftPadding, value);
|
||||
}
|
||||
|
||||
@@ -5,12 +5,6 @@
|
||||
MwOO::Menu::Menu(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwMenuClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
MwMenu MwOO::Menu::Add(MwMenu menu, const char* name){
|
||||
MwMenu ret;
|
||||
ret = MwMenuAdd(this->widget, menu, name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
void MwOO::Menu::SetBackground(const char* value){
|
||||
MwSetText(this->widget, MwNbackground, value);
|
||||
}
|
||||
|
||||
@@ -5,20 +5,6 @@
|
||||
MwOO::OpenGL::OpenGL(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwOpenGLClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
void MwOO::OpenGL::MakeCurrent(void){
|
||||
MwOpenGLMakeCurrent(this->widget);
|
||||
}
|
||||
|
||||
void* MwOO::OpenGL::GetProcAddress(const char* name){
|
||||
void* ret;
|
||||
ret = MwOpenGLGetProcAddress(this->widget, name);
|
||||
return ret;
|
||||
}
|
||||
|
||||
void MwOO::OpenGL::SwapBuffer(void){
|
||||
MwOpenGLSwapBuffer(this->widget);
|
||||
}
|
||||
|
||||
void MwOO::OpenGL::SetBackground(const char* value){
|
||||
MwSetText(this->widget, MwNbackground, value);
|
||||
}
|
||||
|
||||
@@ -5,12 +5,6 @@
|
||||
MwOO::ScrollBar::ScrollBar(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwScrollBarClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
int MwOO::ScrollBar::GetVisibleLength(void){
|
||||
int ret;
|
||||
ret = MwScrollBarGetVisibleLength(this->widget);
|
||||
return ret;
|
||||
}
|
||||
|
||||
void MwOO::ScrollBar::SetAreaShown(int value){
|
||||
MwSetInteger(this->widget, MwNareaShown, value);
|
||||
}
|
||||
|
||||
@@ -5,10 +5,6 @@
|
||||
MwOO::SubMenu::SubMenu(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwSubMenuClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
void MwOO::SubMenu::Appear(MwMenu menu, MwPoint* point){
|
||||
MwSubMenuAppear(this->widget, menu, point);
|
||||
}
|
||||
|
||||
void MwOO::SubMenu::SetBackground(const char* value){
|
||||
MwSetText(this->widget, MwNbackground, value);
|
||||
}
|
||||
|
||||
@@ -5,16 +5,6 @@
|
||||
MwOO::Viewport::Viewport(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwViewportClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
MwOO::Base MwOO::Viewport::GetViewport(void){
|
||||
MwOO::Base ret;
|
||||
ret = MwOO::Base(MwViewportGetViewport(this->widget));
|
||||
return ret;
|
||||
}
|
||||
|
||||
void MwOO::Viewport::SetSize(int w, int h){
|
||||
MwViewportSetSize(this->widget, w, h);
|
||||
}
|
||||
|
||||
void MwOO::Viewport::SetBackground(const char* value){
|
||||
MwSetText(this->widget, MwNbackground, value);
|
||||
}
|
||||
|
||||
@@ -17,12 +17,6 @@ void MwOO::Vulkan::Configure(void){
|
||||
MwVulkanConfigure(this->widget);
|
||||
}
|
||||
|
||||
void* MwOO::Vulkan::GetField(MwVulkanField field, MwErrorEnum* out){
|
||||
void* ret;
|
||||
ret = MwVulkanGetField(this->widget, field, out);
|
||||
return ret;
|
||||
}
|
||||
|
||||
VkBool32 MwOO::Vulkan::Supported(void){
|
||||
VkBool32 ret;
|
||||
ret = MwVulkanSupported(this->widget);
|
||||
|
||||
@@ -5,10 +5,6 @@
|
||||
MwOO::Window::Window(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h) : MwOO::Base(MwWindowClass, widget_name, parent, x, y, w, h){
|
||||
}
|
||||
|
||||
void MwOO::Window::MakeBorderless(int toggle){
|
||||
MwWindowMakeBorderless(this->widget, toggle);
|
||||
}
|
||||
|
||||
void MwOO::Window::SetTitle(const char* value){
|
||||
MwSetText(this->widget, MwNtitle, value);
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ static void draw(MwWidget handle) {
|
||||
}
|
||||
|
||||
static void mouse_move(MwWidget handle) {
|
||||
int or = MwGetInteger(handle, MwNorientation);
|
||||
int or = MwGetInteger(handle, MwNorientation);
|
||||
scrollbar_t* scr = handle->internal;
|
||||
|
||||
if(!handle->pressed) return;
|
||||
@@ -160,9 +160,9 @@ static void mouse_move(MwWidget handle) {
|
||||
}
|
||||
|
||||
static void mouse_down(MwWidget handle, void* ptr) {
|
||||
int ww = MwGetInteger(handle, MwNwidth);
|
||||
int wh = MwGetInteger(handle, MwNheight);
|
||||
int or = MwGetInteger(handle, MwNorientation);
|
||||
int ww = MwGetInteger(handle, MwNwidth);
|
||||
int wh = MwGetInteger(handle, MwNheight);
|
||||
int or = MwGetInteger(handle, MwNorientation);
|
||||
scrollbar_t* scr = handle->internal;
|
||||
MwLLMouse* m = ptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user