mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
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:
+4
-4
@@ -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?
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user