git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@286 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-12 09:13:47 +00:00
parent 137cd6444f
commit f7c4c5218f
10 changed files with 750 additions and 804 deletions

View File

@@ -26,24 +26,6 @@
<dd>
<a href="#Mw_Constants_h___define_MwMB_ICONMASK_0xf">#define MwMB_ICONMASK 0xf</a>
</dd>
<dd>
<a href="#Mw_Constants_h___define_MwMB_ICONWARNING_0x1">#define MwMB_ICONWARNING 0x1</a>
</dd>
<dd>
<a href="#Mw_Constants_h___define_MwMB_ICONINFO_0x2">#define MwMB_ICONINFO 0x2</a>
</dd>
<dd>
<a href="#Mw_Constants_h___define_MwMB_ICONNOTE_0x3">#define MwMB_ICONNOTE 0x3</a>
</dd>
<dd>
<a href="#Mw_Constants_h___define_MwMB_ICONQUESTION_0x4">#define MwMB_ICONQUESTION 0x4</a>
</dd>
<dd>
<a href="#Mw_Constants_h___define_MwMB_ICONNEWS_0x5">#define MwMB_ICONNEWS 0x5</a>
</dd>
<dd>
<a href="#Mw_Constants_h___define_MwMB_ICONERROR_0x6">#define MwMB_ICONERROR 0x6</a>
</dd>
<dd>
<a href="#Mw_Constants_h___define_MwMB_BUTTONMASK_0xf0">#define MwMB_BUTTONMASK 0xf0</a>
</dd>
@@ -514,48 +496,6 @@
</dd>
</dl>
<hr>
<pre id="Mw_Constants_h___define_MwMB_ICONWARNING_0x1">#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">MwMB_ICONWARNING</FONT> 0x1</pre>
<dl>
<dd>
Warning icon.
</dd>
</dl>
<hr>
<pre id="Mw_Constants_h___define_MwMB_ICONINFO_0x2">#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">MwMB_ICONINFO</FONT> 0x2</pre>
<dl>
<dd>
Information icon.
</dd>
</dl>
<hr>
<pre id="Mw_Constants_h___define_MwMB_ICONNOTE_0x3">#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">MwMB_ICONNOTE</FONT> 0x3</pre>
<dl>
<dd>
Note icon.
</dd>
</dl>
<hr>
<pre id="Mw_Constants_h___define_MwMB_ICONQUESTION_0x4">#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">MwMB_ICONQUESTION</FONT> 0x4</pre>
<dl>
<dd>
Question icon.
</dd>
</dl>
<hr>
<pre id="Mw_Constants_h___define_MwMB_ICONNEWS_0x5">#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">MwMB_ICONNEWS</FONT> 0x5</pre>
<dl>
<dd>
News icon.
</dd>
</dl>
<hr>
<pre id="Mw_Constants_h___define_MwMB_ICONERROR_0x6">#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">MwMB_ICONERROR</FONT> 0x6</pre>
<dl>
<dd>
Error icon.
</dd>
</dl>
<hr>
<pre id="Mw_Constants_h___define_MwMB_BUTTONMASK_0xf0">#<B><FONT COLOR="#5F9EA0">define</FONT></B> <FONT COLOR="#B8860B">MwMB_BUTTONMASK</FONT> 0xf0</pre>
<dl>
<dd>

View File

@@ -38,7 +38,8 @@ class Base {
virtual void OnMouseUpHandler(void*) {};
virtual void OnChangedHandler(void*) {};
virtual void OnKeyHandler(void*) {};
virtual void OnKeyReleasedHandler(void*) {};
virtual void OnKeyReleaseHandler(void*) {};
virtual void OnCloseHandler(void*) {};
/* END AUTOGENERATE */

View File

@@ -100,9 +100,13 @@ static void __OnKeyHandler(MwWidget widget, void* user, void* call){
MwOO::Base* c = (MwOO::Base*)user;
c->OnKeyHandler(call);
}
static void __OnKeyReleasedHandler(MwWidget widget, void* user, void* call){
static void __OnKeyReleaseHandler(MwWidget widget, void* user, void* call){
MwOO::Base* c = (MwOO::Base*)user;
c->OnKeyReleasedHandler(call);
c->OnKeyReleaseHandler(call);
}
static void __OnCloseHandler(MwWidget widget, void* user, void* call){
MwOO::Base* c = (MwOO::Base*)user;
c->OnCloseHandler(call);
}
void MwOO::Base::SetHandler(void){
@@ -114,6 +118,7 @@ void MwOO::Base::SetHandler(void){
MwAddUserHandler(this->widget, MwNmouseUpHandler, __OnMouseUpHandler, this);
MwAddUserHandler(this->widget, MwNchangedHandler, __OnChangedHandler, this);
MwAddUserHandler(this->widget, MwNkeyHandler, __OnKeyHandler, this);
MwAddUserHandler(this->widget, MwNkeyReleasedHandler, __OnKeyReleasedHandler, this);
MwAddUserHandler(this->widget, MwNkeyReleaseHandler, __OnKeyReleaseHandler, this);
MwAddUserHandler(this->widget, MwNcloseHandler, __OnCloseHandler, this);
}
/* END AUTOGENERATE */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 663 B

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 434 B

After

Width:  |  Height:  |  Size: 434 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 542 B

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 594 B

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 529 B

After

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 498 B

After

Width:  |  Height:  |  Size: 498 B

File diff suppressed because it is too large Load Diff