(svn r18130) -Codechange: initial steps into making the vehicle/group lists big font and RTL aware
This commit is contained in:
@@ -14,13 +14,6 @@
|
||||
|
||||
#include "sortlist_type.h"
|
||||
|
||||
/** Start of functions regarding vehicle list windows */
|
||||
enum {
|
||||
PLY_WND_PRC__SIZE_OF_ROW_TINY = 13, ///< Height of rows in group list
|
||||
PLY_WND_PRC__SIZE_OF_ROW_SMALL = 26, ///< Height of rows in train/roadvehicle list
|
||||
PLY_WND_PRC__SIZE_OF_ROW_BIG = 39, ///< Height of rows in ship/aircraft list
|
||||
};
|
||||
|
||||
typedef GUIList<const Vehicle*> GUIVehicleList;
|
||||
|
||||
struct BaseVehicleListWindow: public Window {
|
||||
@@ -41,6 +34,8 @@ struct BaseVehicleListWindow: public Window {
|
||||
void BuildVehicleList(Owner owner, uint16 index, uint16 window_type);
|
||||
};
|
||||
|
||||
uint GetVehicleListHeight(VehicleType type, uint divisor = 1);
|
||||
|
||||
struct Sorting {
|
||||
Listing aircraft;
|
||||
Listing roadveh;
|
||||
|
||||
Reference in New Issue
Block a user