Freeciv-3.2
|
#include <QActionGroup>
#include <QApplication>
#include <QFileDialog>
#include <QMainWindow>
#include <QMessageBox>
#include <QScrollArea>
#include <QStandardPaths>
#include <QVBoxLayout>
#include "string_vector.h"
#include "game.h"
#include "government.h"
#include "goto.h"
#include "name_translation.h"
#include "road.h"
#include "unit.h"
#include "connectdlg_common.h"
#include "control.h"
#include "helpdata.h"
#include "fc_client.h"
#include "chatline.h"
#include "cityrep.h"
#include "dialogs.h"
#include "gotodlg.h"
#include "gui_main.h"
#include "hudwidget.h"
#include "mapctrl.h"
#include "messagedlg.h"
#include "plrdlg.h"
#include "ratesdlg.h"
#include "repodlgs.h"
#include "shortcuts.h"
#include "spaceshipdlg.h"
#include "sprite.h"
#include "menu.h"
Go to the source code of this file.
Macros | |
#define | CREATE_SUB_ITEM(_menu_, _act_id_, _sub_tgt_id_, _sub_tgt_name_) |
#define | ADD_OLD_SHORTCUT(wanted_action_id, sc_id) |
Functions | |
static void | enable_interface (bool enable) |
void | real_menus_init (void) |
void | real_menus_update (void) |
static const char * | get_tile_change_menu_text (struct tile *ptile, enum unit_activity activity) |
void | multiairlift (struct city *acity, Unit_type_id ut) |
#define ADD_OLD_SHORTCUT | ( | wanted_action_id, | |
sc_id | |||
) |
#define CREATE_SUB_ITEM | ( | _menu_, | |
_act_id_, | |||
_sub_tgt_id_, | |||
_sub_tgt_name_ | |||
) |
Helper function to hide/show widgets
Definition at line 3191 of file menu.cpp.
Referenced by mr_menu::slot_lock().
void multiairlift | ( | struct city * | acity, |
Unit_type_id | ut | ||
) |
Airlift unit type to city acity from each city
Definition at line 3912 of file menu.cpp.
Referenced by map_view::shortcut_pressed().
Initialize menus (sensitivity, name, etc.) based on the current state and current ruleset, etc. Call menus_update().