C# Class GameMenu.MenuWindow

Inheritance: IMyGameWindow
Show file Open project: henon/manic_digger Class Usage Examples

Public Properties

Property Type Description
ConstHeight int
ConstWidth int
OnFinishedTyping ThreadStart
afterSelectWorld ThreadStart
afterWorldOptions ThreadStart
button4 string
button4sel string
currentForm IForm
typingfield int

Public Methods

Method Description
AddBackground ( List widgets ) : void
AddCaption ( IForm form, string text ) : void
AddOkCancel ( IForm form, ThreadStart ok, ThreadStart cancel ) : void
DrawWidgets ( IForm form ) : void
Exit ( ) : void
FormConnectToIp ( ) : void
FormGameOptions ( ) : void
FormJoinMultiplayer ( ) : void
FormLogin ( ) : void
FormMainMenu ( ) : void
FormSelectSinglePlayerWorld ( ) : void
FormSelectWorld ( ThreadStart a ) : void
FormStartServer ( ) : void
Keyboard_KeyDown ( object sender, KeyboardKeyEventArgs e ) : void
MessageBoxYesNo ( string text, ThreadStart yes, ThreadStart no ) : void
OnClosed ( EventArgs e ) : void
OnFocusedChanged ( EventArgs e ) : void
OnKeyPress ( OpenTK e ) : void
OnLoad ( EventArgs e ) : void
OnRenderFrame ( FrameEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnUpdateFrame ( FrameEventArgs e ) : void
OrthoMode ( ) : void
PerspectiveMode ( ) : void
ResizeGraphics ( ) : void

Private Methods

Method Description
FormWorldOptions ( int id ) : void
PassString ( string s ) : string
UpdateMouse ( ) : void
UpdateWidgetsMouse ( IForm form ) : void

Method Details

AddBackground() public method

public AddBackground ( List widgets ) : void
widgets List
return void

AddCaption() public method

public AddCaption ( IForm form, string text ) : void
form IForm
text string
return void

AddOkCancel() public method

public AddOkCancel ( IForm form, ThreadStart ok, ThreadStart cancel ) : void
form IForm
ok ThreadStart
cancel ThreadStart
return void

DrawWidgets() public method

public DrawWidgets ( IForm form ) : void
form IForm
return void

Exit() public method

public Exit ( ) : void
return void

FormConnectToIp() public method

public FormConnectToIp ( ) : void
return void

FormGameOptions() public method

public FormGameOptions ( ) : void
return void

FormJoinMultiplayer() public method

public FormJoinMultiplayer ( ) : void
return void

FormLogin() public method

public FormLogin ( ) : void
return void

FormMainMenu() public method

public FormMainMenu ( ) : void
return void

FormSelectSinglePlayerWorld() public method

public FormSelectSinglePlayerWorld ( ) : void
return void

FormSelectWorld() public method

public FormSelectWorld ( ThreadStart a ) : void
a ThreadStart
return void

FormStartServer() public method

public FormStartServer ( ) : void
return void

Keyboard_KeyDown() public method

public Keyboard_KeyDown ( object sender, KeyboardKeyEventArgs e ) : void
sender object
e OpenTK.Input.KeyboardKeyEventArgs
return void

MessageBoxYesNo() public method

public MessageBoxYesNo ( string text, ThreadStart yes, ThreadStart no ) : void
text string
yes ThreadStart
no ThreadStart
return void

OnClosed() public method

public OnClosed ( EventArgs e ) : void
e System.EventArgs
return void

OnFocusedChanged() public method

public OnFocusedChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnKeyPress() public method

public OnKeyPress ( OpenTK e ) : void
e OpenTK
return void

OnLoad() public method

public OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnRenderFrame() public method

public OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void

OnResize() public method

public OnResize ( EventArgs e ) : void
e System.EventArgs
return void

OnUpdateFrame() public method

public OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void

OrthoMode() public method

public OrthoMode ( ) : void
return void

PerspectiveMode() public method

public PerspectiveMode ( ) : void
return void

ResizeGraphics() public method

public ResizeGraphics ( ) : void
return void

Property Details

ConstHeight public property

public int ConstHeight
return int

ConstWidth public property

public int ConstWidth
return int

OnFinishedTyping public property

public ThreadStart OnFinishedTyping
return ThreadStart

afterSelectWorld public property

public ThreadStart afterSelectWorld
return ThreadStart

afterWorldOptions public property

public ThreadStart afterWorldOptions
return ThreadStart

button4 public property

public string button4
return string

button4sel public property

public string button4sel
return string

currentForm public property

public IForm currentForm
return IForm

typingfield public property

public int typingfield
return int