Freeciv21
Develop your civilization from humble roots to a global empire
top_bar.h File Reference
#include <QToolButton>
#include <QWidget>
+ Include dependency graph for top_bar.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  national_budget_widget
 Top bar widget for national budget. More...
 
class  indicators_widget
 Top bar widget for indicators (global warming/nuclear winter/science/ government). More...
 
class  top_bar_widget
 
class  gold_widget
 Top bar widget that shows the amount of gold owned by the current player, and their income. More...
 
class  top_bar
 

Typedefs

typedef void(* pfcn) ()
 

Functions

void top_bar_center_unit ()
 Callback to center on current unit. More...
 
void top_bar_finish_turn ()
 Callback for finishing turn. More...
 
void top_bar_indicators_menu ()
 Popups menu on indicators widget. More...
 
void top_bar_right_click_diplomacy ()
 Right click for diplomacy Opens diplomacy meeting for player For observer popups menu. More...
 
void top_bar_right_click_science ()
 Right click for science, allowing to choose current tech. More...
 
void top_bar_left_click_science ()
 Left click for science, allowing to close/open. More...
 
void top_bar_units_view ()
 Click for units view, allowing to close/open. More...
 
void top_bar_show_map ()
 Callback to show map. More...
 

Typedef Documentation

◆ pfcn

typedef void(* pfcn) ()

Definition at line 19 of file top_bar.h.

Function Documentation

◆ top_bar_center_unit()

void top_bar_center_unit ( )

Callback to center on current unit.

Definition at line 462 of file top_bar.cpp.

◆ top_bar_finish_turn()

void top_bar_finish_turn ( )

Callback for finishing turn.

Definition at line 457 of file top_bar.cpp.

Referenced by minimap_panel::minimap_panel().

◆ top_bar_indicators_menu()

void top_bar_indicators_menu ( )

Popups menu on indicators widget.

Definition at line 471 of file top_bar.cpp.

Referenced by pageGame::pageGame().

◆ top_bar_left_click_science()

void top_bar_left_click_science ( )

Left click for science, allowing to close/open.

Definition at line 575 of file top_bar.cpp.

Referenced by pageGame::pageGame().

◆ top_bar_right_click_diplomacy()

void top_bar_right_click_diplomacy ( )

Right click for diplomacy Opens diplomacy meeting for player For observer popups menu.

Definition at line 485 of file top_bar.cpp.

Referenced by pageGame::pageGame().

◆ top_bar_right_click_science()

void top_bar_right_click_science ( )

Right click for science, allowing to choose current tech.

Definition at line 525 of file top_bar.cpp.

Referenced by pageGame::pageGame().

◆ top_bar_show_map()

◆ top_bar_units_view()

void top_bar_units_view ( )

Click for units view, allowing to close/open.

Definition at line 602 of file top_bar.cpp.

Referenced by pageGame::pageGame(), and mr_menu::setup_menus().