sortlist_type.h File Reference

Base types for having sorted lists in GUIs. More...

#include "core/enum_type.hpp"
#include "core/bitmath_func.hpp"
#include "core/mem_func.hpp"
#include "core/sort_func.hpp"
#include "core/smallvec_type.hpp"
#include "date_type.h"

Go to the source code of this file.

Data Structures

struct  Listing
 Data structure describing how to show the list (what sort direction and criterium). More...
struct  Filtering
 Data structure describing what to show in the list (filter criteria). More...
class  GUIList< T, F >
 List template of 'things' T to sort in a GUI. More...

Enumerations

enum  SortListFlags {
  VL_NONE = 0, VL_DESC = 1 << 0, VL_RESORT = 1 << 1, VL_REBUILD = 1 << 2,
  VL_FIRST_SORT = 1 << 3, VL_FILTER = 1 << 4, VL_END = 1 << 5
}
 Flags of the sort list. More...

Functions

 DECLARE_ENUM_AS_BIT_SET (SortListFlags)


Detailed Description

Base types for having sorted lists in GUIs.

Definition in file sortlist_type.h.


Enumeration Type Documentation

Flags of the sort list.

Enumerator:
VL_NONE  no sort
VL_DESC  sort descending or ascending
VL_RESORT  instruct the code to resort the list in the next loop
VL_REBUILD  rebuild the sort list
VL_FIRST_SORT  sort with quick sort first
VL_FILTER  filter disabled/enabled

Definition at line 23 of file sortlist_type.h.


Generated on Wed Dec 30 20:40:17 2009 for OpenTTD by  doxygen 1.5.6