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
 
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) -&amp;gt; nil
SetMenuMode(userdata self, int mode, userdata parent) -> nil
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
<br><br>
'''Description:''' &amp;lt;br&amp;gt;
'''Description:''' <br>
Change visibility of logoff button and the parent dialog
Change visibility of logoff button and the parent dialog
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
<br><br>
'''Arguments:'''&amp;lt;br&amp;gt;
'''Arguments:'''<br>
'''self''' this dialog&amp;lt;br&amp;gt;
'''self''' this dialog<br>
'''mode''' 1 = don't show logoff button; 2 = show button&amp;lt;br&amp;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
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
<br><br>
 
----
&lt;div style=&quot;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;&quot;&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://ivejixok.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
----
=[http://ivejixok.co.cc CLICK HERE]=
----
</div>
 
=[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