mp3splt-gtk
|
Go to the source code of this file.
Functions | |
void | add_mess_hist_tags () |
void | clear_messages_event (GtkWidget *widget, gpointer data) |
void | create_mess_history_dialog () |
GtkWidget * | create_text_component () |
void | debug_check_event (GtkToggleButton *debug_toggle, gpointer user_data) |
const char * | get_current_time () |
void | mess_history_hide (GtkDialog *dialog, gint response_id, gpointer data) |
void | mess_history_hide2 (GtkWidget *widget, gpointer data) |
void | put_message_in_history (const gchar *message, splt_message_type mess_type) |
Variables | |
gint | debug_is_active = FALSE |
GtkTextBuffer * | mess_hist_buffer = NULL |
GtkTextTagTable * | mess_hist_tag_table = NULL |
GtkWidget * | mess_hist_view = NULL |
GtkWidget * | mess_history_dialog = NULL |
splt_state * | the_state |
void add_mess_hist_tags | ( | ) |
Add tags to the message history entry.
Definition at line 113 of file messages.c.
Referenced by create_text_component().
void clear_messages_event | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
The event issued when the "Clear messages" button is clicked.
Definition at line 139 of file messages.c.
Referenced by create_text_component().
void create_mess_history_dialog | ( | ) |
Create the message history dialog.
Definition at line 199 of file messages.c.
References create_text_component(), mess_history_hide(), and mess_history_hide2().
Referenced by create_main_vbox(), and mess_history_hide2().
GtkWidget* create_text_component | ( | ) |
The portion of the message history dialog that contains the messages.
Definition at line 149 of file messages.c.
References add_mess_hist_tags(), clear_messages_event(), create_cool_button(), and debug_check_event().
Referenced by create_mess_history_dialog().
void debug_check_event | ( | GtkToggleButton * | debug_toggle, |
gpointer | user_data | ||
) |
The event that is issued if the user clicks on a message tag.
Definition at line 126 of file messages.c.
Referenced by create_text_component().
const char* get_current_time | ( | ) |
Returns the current local time in form of a string.
Definition at line 55 of file messages.c.
Referenced by put_message_in_history().
void mess_history_hide | ( | GtkDialog * | dialog, |
gint | response_id, | ||
gpointer | data | ||
) |
Hide the message history dialog.
Definition at line 94 of file messages.c.
Referenced by create_mess_history_dialog(), and mess_history_hide2().
void mess_history_hide2 | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Hide the message history dialog.
Takes less arguments than mess_history_hide.
Definition at line 105 of file messages.c.
References create_mess_history_dialog(), and mess_history_hide().
Referenced by create_mess_history_dialog().
void put_message_in_history | ( | const gchar * | message, |
splt_message_type | mess_type | ||
) |
Record this message in the message history.
Definition at line 67 of file messages.c.
References get_current_time(), SPLT_MESSAGE_DEBUG, and SPLT_MESSAGE_INFO.
Referenced by put_status_message_with_type().