Freeciv-3.3
|
#include <gtk/gtk.h>
#include "fcintl.h"
#include "mem.h"
#include "support.h"
#include "options.h"
#include "voteinfo.h"
#include "update_queue.h"
#include "chatline.h"
#include "voteinfo_bar.h"
Go to the source code of this file.
Data Structures | |
struct | voteinfo_bar |
Variables | |
GtkWidget * | pregame_votebar = NULL |
GtkWidget * | ingame_votebar = NULL |
Destroy the voteinfo_bar data structure.
Definition at line 82 of file voteinfo_bar.c.
Referenced by voteinfo_bar_new().
Called after a click on a vote button.
Definition at line 55 of file voteinfo_bar.c.
Referenced by voteinfo_bar_new().
Create a voteinfo_bar structure. "split_bar" controls whether to split voteinfo bar over two lines (for narrow windows) or put on a single line to save vertical space.
Definition at line 92 of file voteinfo_bar.c.
Referenced by create_start_page(), and setup_widgets().
Switch to the next vote.
Definition at line 73 of file voteinfo_bar.c.
Referenced by voteinfo_bar_new().
Refresh all vote related GUI widgets. Called by the voteinfo module when the client receives new vote information from the server.
Definition at line 214 of file voteinfo_bar.c.
Referenced by handle_vote_new(), handle_vote_remove(), handle_vote_resolve(), handle_vote_update(), real_set_client_page(), set_client_state(), fc_client::switch_page(), voteinfo_bar_next_callback(), and voteinfo_queue_check_removed().
Definition at line 50 of file voteinfo_bar.c.
Referenced by setup_widgets(), and voteinfo_gui_update().
Definition at line 49 of file voteinfo_bar.c.
Referenced by create_start_page(), and voteinfo_gui_update().