Difference between revisions of "OptionsDialog"

From Vendetta Lua
Jump to: navigation, search
(New page: A borderless iup dialog with game options. Created with CreateOptionsMenu == Functions == === SetMenuMode === '''Definition:'''<br> SetMenuMode(userdata s...)
 
m (Reverted edits by Otutytaqo (Talk) to last version by Chefkoch)
 
(2 intermediate revisions by one other user not shown)
(No difference)

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