Amulets & Armor
v1.02
Open Source Game
|
Scroll bars for UI. More...
Functions | |
T_void | SliderCleanUp (T_void) |
T_sliderID | SliderCreate (T_word16 lx1, T_word16 ly1, T_word16 lx2) |
T_void | SliderDelete (T_sliderID sliderID) |
T_void * | SliderGetStateBlock (T_void) |
T_word16 | SliderGetValue (T_sliderID sliderID) |
E_Boolean | SliderIsAt (T_sliderID sliderID, T_word16 lx, T_word16 ly) |
T_void | SliderMouseControl (E_mouseEvent event, T_word16 x, T_word16 y, T_buttonClick button) |
T_void | SliderSetCallBack (T_sliderID sliderID, T_sliderHandler sliderhandler) |
T_void | SliderSetStateBlock (T_void *p_state) |
T_void | SliderSetValue (T_sliderID sliderID, T_word16 value) |
T_void | SliderUpdate (T_sliderID sliderID) |
T_void | SliderUpdateAllSliders (T_void) |
Scroll bars for UI.
User Interface sliders/scrollbars.
T_sliderID SliderCreate | ( | T_word16 | lx1, |
T_word16 | ly1, | ||
T_word16 | lx2 | ||
) |
Adds a slider to the current list of sliders for a form
T_void SliderDelete | ( | T_sliderID | sliderID) |
Releases memory allocated to a slider Cleanup releases memory allocated to all 'sliders'
T_word16 SliderGetValue | ( | T_sliderID | sliderID) |
E_Boolean SliderIsAt | ( | T_sliderID | sliderID, |
T_word16 | lx, | ||
T_word16 | ly | ||
) |
T_void SliderMouseControl | ( | E_mouseEvent | event, |
T_word16 | x, | ||
T_word16 | y, | ||
T_buttonClick | button | ||
) |
T_void SliderSetCallBack | ( | T_sliderID | sliderID, |
T_sliderHandler | sliderhandler | ||
) |
T_void SliderSetValue | ( | T_sliderID | sliderID, |
T_word16 | value | ||
) |
T_void SliderUpdate | ( | T_sliderID | sliderID) |
Draws a slider on the screen at the stored locx+xoff, locy+yoff also will shadow if shadow is set to anything less than 255, and will not draw slider if visible or changed are set to FALSE.