Freeciv21
Develop your civilization from humble roots to a global empire
freeciv::multi_slider::category Struct Reference

Public Member Functions

bool allowed (int value) const
 Checks if the category could take some value. More...
 

Public Attributes

QPixmap icon
 
int minimum = 0
 
int maximum = std::numeric_limits<int>::max()
 

Detailed Description

Definition at line 16 of file multi_slider.h.

Member Function Documentation

◆ allowed()

bool freeciv::multi_slider::category::allowed ( int  value) const
inline

Checks if the category could take some value.

Definition at line 21 of file multi_slider.h.

Referenced by freeciv::multi_slider::grab_item().

Member Data Documentation

◆ icon

QPixmap freeciv::multi_slider::category::icon

Definition at line 17 of file multi_slider.h.

◆ maximum

int freeciv::multi_slider::category::maximum = std::numeric_limits<int>::max()

Definition at line 18 of file multi_slider.h.

Referenced by allowed().

◆ minimum

int freeciv::multi_slider::category::minimum = 0

Definition at line 18 of file multi_slider.h.

Referenced by allowed().