Freeciv-3.2
|
#include <QAction>
#include <QApplication>
#include <QHBoxLayout>
#include <QMenu>
#include <QPainter>
#include <QPaintEvent>
#include <QPixmap>
#include <QScreen>
#include <QTimer>
#include "research.h"
#include "client_main.h"
#include "fc_client.h"
#include "repodlgs.h"
#include "sidebar.h"
#include "sprite.h"
Go to the source code of this file.
Functions | |
void | pixmap_copy (QPixmap *dest, QPixmap *src, int src_x, int src_y, int dest_x, int dest_y, int width, int height) |
static void | reduce_mod (int &val, int &mod) |
void | side_show_map (bool nothing) |
void | side_finish_turn (bool nothing) |
void | side_rates_wdg (bool nothing) |
void | side_center_unit () |
void | update_turn_done_tooltip () |
void | side_disable_endturn (bool do_restore) |
void | side_blink_endturn (bool do_restore) |
void | side_indicators_menu () |
void | side_right_click_diplomacy (void) |
void | side_right_click_science (void) |
void | side_left_click_science (bool nothing) |
|
extern |
Copies an area from the source pixmap to the destination pixmap.
Definition at line 101 of file canvas.cpp.
Referenced by impr_item::enterEvent(), impr_item::impr_item(), impr_item::leaveEvent(), minimap_thread::run(), progress_bar::set_pixmap(), and progress_bar::set_pixmap().
Helper function to fit tax sprites, reduces modulo, increasing value
Definition at line 49 of file sidebar.cpp.
Referenced by fc_sidewidget::update_final_pixmap().
Changes background of endturn widget if asked
Definition at line 689 of file sidebar.cpp.
Referenced by update_turn_done_button().
void side_center_unit | ( | ) |
Callback to center on current unit
Definition at line 649 of file sidebar.cpp.
Referenced by fc_client::create_game_page().
Disables end turn button if asked
Definition at line 676 of file sidebar.cpp.
Referenced by fc_game_tab_widget::resizeEvent(), and set_turn_done_button_state().
Callback for finishing turn
Definition at line 631 of file sidebar.cpp.
Referenced by fc_client::create_game_page().
void side_indicators_menu | ( | ) |
Popups menu on indicators widget
Definition at line 701 of file sidebar.cpp.
Referenced by fc_client::create_game_page().
Left click for science, allowing to close/open
Definition at line 809 of file sidebar.cpp.
Referenced by fc_client::create_game_page().
Callback to popup rates dialog
Definition at line 639 of file sidebar.cpp.
Referenced by fc_client::create_game_page().
Right click for diplomacy Opens diplomacy meeting for player For observer popups menu
Definition at line 715 of file sidebar.cpp.
Referenced by fc_client::create_game_page().
Right click for science, allowing to choose current tech
Definition at line 760 of file sidebar.cpp.
Referenced by fc_client::create_game_page().
Callback to show map
Definition at line 623 of file sidebar.cpp.
Referenced by fc_client::create_game_page().
Update tooltip of the Turn Done button
Definition at line 658 of file sidebar.cpp.
Referenced by set_turn_done_button_state().