These Library handles gadgets for a screen instead of a win32-window. It is made as near as possible to PB. The following gadgets are supported: Text String Editor Button Checkbox ComboBox Option Trackbar Listicon ExplorerList ScrollBar Image Imagebutton Frame3D If the gadgets are created 'statically' i.e. the gadget number is set by the user, the return is a pointer to the internal structur. (See the code of this lib for more infos about this) If the gadgets are created 'dynamically' i.e. 'PB_Any' is used as gadget number, the return is the gadget number given. The lib needs the following things to be initiaized: Sprite() Keyboard() Mouse() A general note to the number of gadgets possible There are up to 2000 gadgets possible. The Gadget-IDs from 2000 and up are reserved for internal use (mainly the scrollbars used with the Listicon-, ComboBox- and the Editor-Gadgets) Resourcen used by this lib - Sprites for the editor-gadgets. These Sprites are created using `PB_Any`. - Font number 1 and 2. Something to test: This Lib should compile under linux, too. Cos I havenīt a linux-system to test, I hope that someone else could test it... |
| |
add a column To the listicon gadget | |
add an item To the specified listicon gagdet | |
creates a button gadget | |
creates a Imagebutton gadget | |
creates a checkbox gadget | |
remove all items of the specified listicon gagdet | |
creates a ComboBox gadget | |
returns the number of items of the specified listicon gagdet | |
disables the specified gagdet | |
creates an editor gadget | |
returns the number of the gadget, where the event happened | |
returns the EventID, of the event happened | |
creates a Explorerlist gadget | |
creates a Image gadget | |
releases all gadgets | |
remove the specified gagdet | |
returns the height of the specified gagdet | |
returns the ID (=pointer To the listelement) of that gadget | |
returns the width of the specified gagdet | |
returns the x Position of the specified gagdet | |
returns the y Position of the specified gagdet | |
returns the Number of the gagdet With the current focus, otherwise -1 | |
returns the flags of the specified gadget | |
change the color of the specified gagdet | |
returns the Value stored With this gadget | |
returns the font used by the specified gagdet | |
Return the flags ot this gadget | |
returns the color of that item | |
returns the Value stored With this item of the gadget | |
returns the font used by the specified gagdet | |
returns the item state of the specified gagdet | |
returns the item text of the specified gagdet | |
returns the state of the specified gagdet | |
returns the text of the specified gagdet | |
returns the toggle - state of the button Or Imagebutton | |
returns the current state of the Listicon Header: 1 For down And 0 For up Or -1 For none. | |
hides the specified gagdet | |
creates a Image gadget | |
returns the the ID (=pointer To the listelement) of the specified gagdet, Or 0, If it does Not exist | |
creates a listicon gadget | |
returns 1, If the Mouse of over a Licon Header gap | |
creates a option gadget | |
remove the given Column from the specified gadget | |
removes the item an the Position from the specified listicon gagdet | |
change the Size of the specified gagdet | |
checks If an event happened And Return the EventID | |
creates a scrollbar gadget | |
set the background type For all gadgets created after that command (0 = none, 1 = color, 2 = image) | |
set the background color For all gadgets created after that command | |
set the background image For all gadgets created after that command | |
set the text color For all gadgets created after that command | |
set the focus To the specified gagdet | |
change the flag of the specified gadget | |
set the background type For the specified gagdet (0 = none, 1 = color, 2 = image) | |
set the background image For the specified gagdet | |
change the color of the specified gagdet | |
stores a Value With this gadget | |
change the text font of the specified gagdet | |
stores the flags ot this gadget | |
Set the color of the specified Row of the Gadget | |
stores a Value With this item of the gadget | |
change the font of an item of the specified gagdet - only EditorGadgets | |
change the state of an item of the specified gagdet | |
change the text of an item of the specified gagdet | |
set the Position For this gadget | |
change the state of the specified gagdet | |
change the text of the specified gagdet | |
set the toggle - state of the button Or Imagebutton | |
set the state of the Header of the colums 1 For down, 0 For up Or -1 For none | |
makes the item at Position_L visible | |
creates a string gadget | |
creates a text gadget | |
creates a trackbar gadget |