The Battle for Wesnoth  1.17.24+dev
Public Member Functions | List of all members
gui::menu::sorter Class Referenceabstract

#include <menu.hpp>

Inheritance diagram for gui::menu::sorter:

Public Member Functions

virtual ~sorter ()
virtual bool column_sortable (int column) const =0
virtual bool less (int column, const item &row1, const item &row2) const =0

Detailed Description

Definition at line 111 of file menu.hpp.

Constructor & Destructor Documentation

◆ ~sorter()

virtual gui::menu::sorter::~sorter ( )

Definition at line 114 of file menu.hpp.

Member Function Documentation

◆ column_sortable()

virtual bool gui::menu::sorter::column_sortable ( int  column) const
pure virtual

◆ less()

virtual bool gui::menu::sorter::less ( int  column,
const item row1,
const item row2 
) const
pure virtual

Implemented in gui::menu::basic_sorter.

The documentation for this class was generated from the following file: