Freeciv-3.1: player_dlg_column Struct Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Data Fields
player_dlg_column Struct Reference

`#include <plrdlg_common.h>`

## Data Fields

bool | show
enum player_dlg_column_type | type
const char * | title
const char *(* | func )(const struct player *)
bool(* | bool_func )(const struct player *)
plr_dlg_sort_func | sort_func
const char * | tagname

## Detailed Description

Definition at line 39 of file plrdlg_common.h.

## Field Documentation

## ◆ bool_func

bool(* player_dlg_column::bool_func) (const struct player *)

Definition at line 44 of file plrdlg_common.h.

Referenced by plr_item::data(), and fill_row().

## ◆ func

const char *(* player_dlg_column::func) (const struct player *)

Definition at line 43 of file plrdlg_common.h.

Referenced by plr_item::data(), and fill_row().

## ◆ show

bool player_dlg_column::show

Definition at line 40 of file plrdlg_common.h.

Referenced by create_plrdlg_display_menu_item(), create_show_menu(), plr_widget::display_header_menu(), plr_model::hide_data(), options_dialogs_set(), toggle_view(), and toggle_view().

## ◆ sort_func

plr_dlg_sort_func player_dlg_column::sort_func

Definition at line 45 of file plrdlg_common.h.

Referenced by plr_sorter::lessThan(), and plrdlg_sort_func().

## ◆ tagname

const char* player_dlg_column::tagname

Definition at line 46 of file plrdlg_common.h.

## ◆ title

const char* player_dlg_column::title

Definition at line 42 of file plrdlg_common.h.

Referenced by create_players_dialog(), create_plrdlg_display_menu_item(), create_show_menu(), plr_model::headerData(), and init_player_dlg_common().

## ◆ type

enum player_dlg_column_type player_dlg_column::type

Definition at line 41 of file plrdlg_common.h.

Referenced by create_players_dialog(), fill_row(), and plr_item_delegate::paint().