| ComNik.Zombie: | Types | Modinfo | Source |
| TButton | A classical button. |
| TGadget | The Gadget class provides basic functionality. |
| TInput | |
| TWindow | Windows. |
| Type TButton Extends TGadget | |
| Description | A classical button. |
| Methods Summary | |
|---|---|
| InitButton | Initialize a button. |
| SetAlign | Set the align For the buttons caption. |
| SetOffset | Sets the caption offset. |
| Functions Summary | |
|---|---|
| CreateButton | Creates a new Button. |
| Method InitButton(caption:String,hover:Byte=1,typ:Byte=10,align:Byte=CAPTION_CENTER) | |
| Description | Initialize a button. |
| Method SetAlign(align:Byte) | |
| Description | Set the align For the buttons caption. |
| Method SetOffset(x:Float,y:Float) | |
| Description | Sets the caption offset. |
| Function CreateButton:TButton(x:Float,y:Float,w:Float,h:Float,gfx:TImage=Null,parent:TGadget=Null) | |
| Description | Creates a new Button. |
| Type TGadget | |
| Description | The Gadget class provides basic functionality. |
| Methods Summary | |
|---|---|
| Draw | Draws the gadget. |
| DrawGadget | Draws the gadget. |
| InitGadget | Initializes a gadget. |
| Move | Adds the given x And y values To. |
| Resize | Resize the gadget To the given values. |
| SetChild | Sets the gadget child. (for tabbers) |
| SetEnabled | Changes the visibility of an gadget. |
| SetParent | Set the gadgets parent. |
| SetPostion | Sets the position of an gadget. |
| SetTooltipp | Sets the tooltipp for the gadget. |
| SetVisible | Changes the visibility of an gadget. |
| SwapEnabled | Enables Or disables an gadget. |
| SwapVisible | Changes the visibility of an gadget. |
| Update | Updates the Gadget. |
| UpdateGadget | Updates the gadget. |
| Method Draw() Abstract | |
| Description | Draws the gadget. |
| Information | Individual for each gadget. |
| Method DrawGadget(frame:Int=0) | |
| Description | Draws the gadget. |
| Method InitGadget:TGadget(x:Float,y:Float,w:Float,h:Float,gfx:TImage=Null,parent:TGadget=Null) | |
| Description | Initializes a gadget. |
| Method Move(x:Float,y:Float) | |
| Description | Adds the given x And y values To. |
| Method Resize(w:Float,h:Float) | |
| Description | Resize the gadget To the given values. |
| Method SetChild(child:TGadget) | |
| Description | Sets the gadget child. (for tabbers) |
| Method SetEnabled(value:Byte) | |
| Description | Changes the visibility of an gadget. |
| Method SetParent(parent:TGadget) | |
| Description | Set the gadgets parent. |
| Method SetPostion(x:Float,y:Float) | |
| Description | Sets the position of an gadget. |
| Method SetTooltipp(ttipp:String,ttippGfx:TImage=Null) | |
| Description | Sets the tooltipp for the gadget. |
| Method SetVisible(value:Byte) | |
| Description | Changes the visibility of an gadget. |
| Method SwapEnabled() | |
| Description | Enables Or disables an gadget. |
| Method SwapVisible() | |
| Description | Changes the visibility of an gadget. |
| Method Update(mh:Int) Abstract | |
| Description | Updates the Gadget. |
| Information | Individual for each gadget. |
| Method UpdateGadget(mh:Int) | |
| Description | Updates the gadget. |
| Type TInput Extends TGadget |
| Methods Summary | |
|---|---|
| InitInput | Initializes an existing input gadget. |
| SetFont | Sets font to display caption in. |
| Functions Summary | |
|---|---|
| CreateInput | Creates a new Input Field. |
| Method InitInput(maxChars:Int,maxLines:Int) | |
| Description | Initializes an existing input gadget. |
| Method SetFont(font:TImageFont) | |
| Description | Sets font to display caption in. |
| Function CreateInput:TInput(x:Float,y:Float,w:Float,h:Float,gfx:TImage=Null,parent:TGadget=Null) | |
| Description | Creates a new Input Field. |
| Type TWindow Extends TGadget | |
| Description | Windows. |
| Methods Summary | |
|---|---|
| AddGadget | Adds a existing gadget to the window. |
| InitWindow | Initialize a window. |
| Functions Summary | |
|---|---|
| CreateWindow | Creates a new window. |
| Method AddGadget(gadget:TGadget) | |
| Description | Adds a existing gadget to the window. |
| Information | First create and initialize a gadget, then add it to a window or menu. |
| Method InitWindow(name:String="",typ:Byte=TYP_CLOSE) | |
| Description | Initialize a window. |
| Function CreateWindow:TWindow(x:Float,y:Float,w:Float,h:Float,gfx:TImage=Null,parent:TGadget=Null) | |
| Description | Creates a new window. |
| Author | Nikolas 'ComNik' Göbel |
|---|---|
| Version | 0.0.9 |