This is the doxygen documentation for gtkboard.
.
#include <glib.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
Go to the source code of this file.
Functions | |
void | sb_message (char *msg, gboolean serious) |
Show a message to the user. | |
void | sb_error (char *msg, gboolean serious) |
Inform user of an error. | |
gchar* | sb_ftime (int temps) |
Converts a time in milliseconds into human-parsable format. | |
void | menu_show_dialog (gchar *title, gchar *message) |
Shows a dialog with given title and message. | |
Variables | |
GtkWidget* | main_window |
The main application window. |
Definition in file ui_common.h.
|
Shows a dialog with given title and message.
Definition at line 276 of file menu.c. Referenced by menu_show_about_dialog(), menu_show_game_doc(), prefs_zap_highscores(), and sb_error(). |
|
Inform user of an error.
Definition at line 795 of file menu.c. Referenced by board_signal_handler(), menu_back_forw(), menu_board_flip_cb(), menu_load_file(), menu_load_file_dialog(), menu_save_file_dialog(), menu_start_stop_game(), prefs_load_scores(), prefs_save_scores(), sb_message(), and ui_get_machine_move(). |
|
Converts a time in milliseconds into human-parsable format.
Definition at line 816 of file menu.c. Referenced by prefs_show_scores_real(), sb_reset_human_time(), and sb_update_periodic(). |
|
Show a message to the user.
Definition at line 808 of file menu.c. Referenced by board_signal_handler(), gui_init(), menu_back_forw(), and menu_load_file(). |
|
The main application window.
Definition at line 31 of file ui_common.h. |