OptionsDialog: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
Otutytaqo (talk | contribs)
No edit summary
m Reverted edits by Otutytaqo (Talk) to last version by Chefkoch
 
(One intermediate revision by one other user not shown)
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:'''<br>
SetMenuMode(userdata self, int mode, userdata parent) -&gt; nil
SetMenuMode(userdata self, int mode, userdata parent) -> nil
&lt;br&gt;&lt;br&gt;
<br><br>
'''Description:''' &lt;br&gt;
'''Description:''' <br>
Change visibility of logoff button and the parent dialog
Change visibility of logoff button and the parent dialog
&lt;br&gt;&lt;br&gt;
<br><br>
'''Arguments:'''&lt;br&gt;
'''Arguments:'''<br>
'''self''' this dialog&lt;br&gt;
'''self''' this dialog<br>
'''mode''' 1 = don't show logoff button; 2 = show button&lt;br&gt;
'''mode''' 1 = don't show logoff button; 2 = show button<br>
'''parent''' dialog to show on clicking close
'''parent''' dialog to show on clicking close
&lt;br&gt;&lt;br&gt;
<br><br>
 
----
<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>

Latest revision as of 18:54, 20 November 2010

A borderless iup dialog with game options. Created with CreateOptionsMenu

Functions

SetMenuMode

Definition:
SetMenuMode(userdata self, int mode, userdata parent) -> nil

Description:
Change visibility of logoff button and the parent dialog

Arguments:
self this dialog
mode 1 = don't show logoff button; 2 = show button
parent dialog to show on clicking close