Changed variables to UINT16, in case a dropdown has a lot of entries

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8179 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2016-05-01 19:04:50 +00:00
parent bd59b2fcba
commit dba2386bc3
4 changed files with 30 additions and 28 deletions
+4 -4
View File
@@ -232,7 +232,7 @@ public:
/*
* set the nth entry as the selected one
*/
void SetNthEntry( UINT8 aNr );
void SetNthEntry( UINT16 aNr );
/*
* Get width of entire DropDownBase
@@ -334,9 +334,9 @@ private:
CHAR16 mHelpText[200];
UINT8 mSelectedEntry; // keeps track of the currently selected city
UINT8 mFirstShownEntry; // top entry of the dropped region
UINT8 mNumDisplayedEntries; // number of entries displayed. Calculated internally, no need to change by user
UINT16 mSelectedEntry; // keeps track of the currently selected city
UINT16 mFirstShownEntry; // top entry of the dropped region
UINT16 mNumDisplayedEntries; // number of entries displayed. Calculated internally, no need to change by user
BOOLEAN mfDropScrollBar; // do we need a scrollbar and a down arrow?
};