mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Original Source for 1.13 Mod High Resolution version from 12/06/05
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
#ifndef _SLIDER__H_
|
||||
#define _SLIDER__H_
|
||||
|
||||
|
||||
#define SLIDER_VERTICAL 0x00000001
|
||||
#define SLIDER_HORIZONTAL 0x00000002
|
||||
|
||||
|
||||
|
||||
//defines for the different styles of sliders
|
||||
enum
|
||||
{
|
||||
SLIDER_DEFAULT_STYLE,
|
||||
|
||||
SLIDER_VERTICAL_STEEL,
|
||||
|
||||
NUM_SLIDER_STYLES,
|
||||
};
|
||||
|
||||
|
||||
typedef void ( *SLIDER_CHANGE_CALLBACK ) (INT32);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
ubStyle
|
||||
usPosX
|
||||
usPosY
|
||||
usWidth
|
||||
usNumberOfIncrements
|
||||
sPriority
|
||||
SliderChangeCallback
|
||||
void SliderChangeCallBack( INT32 iNewValue )
|
||||
*/
|
||||
|
||||
INT32 AddSlider( UINT8 ubStyle, UINT16 usCursor, UINT16 usPosX, UINT16 usPosY, UINT16 usWidth, UINT16 usNumberOfIncrements, INT8 sPriority, SLIDER_CHANGE_CALLBACK SliderChangeCallback, UINT32 uiFlags );
|
||||
|
||||
|
||||
BOOLEAN InitSlider();
|
||||
|
||||
void ShutDownSlider();
|
||||
|
||||
|
||||
void RenderAllSliderBars();
|
||||
|
||||
|
||||
|
||||
|
||||
void RemoveSliderBar( UINT32 uiSliderID );
|
||||
|
||||
|
||||
|
||||
|
||||
void SetSliderValue( UINT32 uiSliderID, UINT32 uiNewValue );
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user