mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
bug fixes from Overhaul:
- Data type changes - Templates removed git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -12,7 +12,7 @@ typedef struct PROGRESSBAR
|
||||
BOOLEAN fPanel;
|
||||
UINT16 usPanelLeft, usPanelTop, usPanelRight, usPanelBottom;
|
||||
UINT16 usColor, usLtColor, usDkColor;
|
||||
wchar_t *swzTitle;
|
||||
STR16 swzTitle;
|
||||
UINT16 usTitleFont;
|
||||
UINT8 ubTitleFontForeColor, ubTitleFontShadowColor;
|
||||
UINT16 usMsgFont;
|
||||
@@ -44,7 +44,7 @@ void DefineProgressBarPanel( UINT32 ubID, UINT8 r, UINT8 g, UINT8 b,
|
||||
|
||||
//Assigning a title for the panel will automatically position the text horizontally centered on the
|
||||
//panel and vertically centered from the top of the panel, to the top of the progress bar.
|
||||
void SetProgressBarTitle( UINT32 ubID, UINT16 *pString, UINT32 usFont, UINT8 ubForeColor, UINT8 ubShadowColor );
|
||||
void SetProgressBarTitle( UINT32 ubID, STR16 pString, UINT32 usFont, UINT8 ubForeColor, UINT8 ubShadowColor );
|
||||
|
||||
//Unless you set up the attributes, any text you pass to SetRelativeStartAndEndPercentage will
|
||||
//default to FONT12POINT1 in a black color.
|
||||
@@ -61,7 +61,7 @@ void RemoveProgressBar( UINT8 ubID );
|
||||
//As the process animates using UpdateProgressBar( 0 to 100 ), the total progress bar will only reach 30%
|
||||
//at the 100% mark within UpdateProgressBar. At that time, you would go onto the next step, resetting the
|
||||
//relative start and end percentage from 30 to whatever, until your done.
|
||||
void SetRelativeStartAndEndPercentage( UINT8 ubID, UINT32 uiRelStartPerc, UINT32 uiRelEndPerc, wchar_t *str);
|
||||
void SetRelativeStartAndEndPercentage( UINT8 ubID, UINT32 uiRelStartPerc, UINT32 uiRelEndPerc, STR16 str);
|
||||
|
||||
//This part renders the progress bar at the percentage level that you specify. If you have set relative
|
||||
//percentage values in the above function, then the uiPercentage will be reflected based off of the relative
|
||||
|
||||
Reference in New Issue
Block a user