OptionsDialog: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
New page: A borderless iup dialog with game options. Created with CreateOptionsMenu == Functions == === SetMenuMode === '''Definition:'''<br> SetMenuMode(userdata s...
 
Otutytaqo (talk | contribs)
No edit summary
Line 1: Line 1:
A borderless iup dialog with game options. Created with [[API_Index#CreateOptionsMenu|CreateOptionsMenu]]
A borderless iup dialog with game options. Created with [[API_Index#CreateOptionsMenu|CreateOptionsMenu]]


== Functions ==
>== Functions ==


=== SetMenuMode ===
=== SetMenuMode ===
'''Definition:'''<br>
'''Definition:'''&lt;br&gt;
SetMenuMode(userdata self, int mode, userdata parent) -> nil
SetMenuMode(userdata self, int mode, userdata parent) -&gt; nil
<br><br>
&lt;br&gt;&lt;br&gt;
'''Description:''' <br>
'''Description:''' &lt;br&gt;
Change visibility of logoff button and the parent dialog
Change visibility of logoff button and the parent dialog
<br><br>
&lt;br&gt;&lt;br&gt;
'''Arguments:'''<br>
'''Arguments:'''&lt;br&gt;
'''self''' this dialog<br>
'''self''' this dialog&lt;br&gt;
'''mode''' 1 = don't show logoff button; 2 = show button<br>
'''mode''' 1 = don't show logoff button; 2 = show button&lt;br&gt;
'''parent''' dialog to show on clicking close
'''parent''' dialog to show on clicking close
<br><br>
&lt;br&gt;&lt;br&gt;
 
----
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://eraguqagip.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
----
=[http://eraguqagip.co.cc CLICK HERE]=
----
</div>

Revision as of 18:39, 15 November 2010

A borderless iup dialog with game options. Created with CreateOptionsMenu

>== Functions ==

SetMenuMode

Definition:<br> SetMenuMode(userdata self, int mode, userdata parent) -> nil <br><br> Description: <br> Change visibility of logoff button and the parent dialog <br><br> Arguments:<br> self this dialog<br> mode 1 = don't show logoff button; 2 = show button<br> parent dialog to show on clicking close <br><br>