player_gui.h File Reference

Player GUI header. More...

#include "player_common.h"
Include dependency graph for player_gui.h:
This graph shows which files directly or indirectly include this file:

Functions

int StartGui (int argc, char **argv)
 Main GUI function This function starts the GUI.
void gui_shutdown_module (int x)
void status_handler (playback_status_message *msg)
void CreatMainWindow (struct_window *gtk, struct_gui_config *config)
 Create main window. This function packs all widgets together.
void WaitForFirstMessage (struct_gui_config *config)
 Waits for first message.
void ConfigGui (struct_gui_config *config)
 Default variables This function sets the default values for some variables,.
void LayoutTimebar (struct_window *gtk, struct_gui_config *config)
 Layout labels with the time Draws a serires of labels on the GUI timestamps.
void CreateMarker (struct_combo *combo)
 Create marker Create a marker at the current time position.
void MoveMarker (struct_combo *combo, double time)
 Move the marker to a new position.
void CreateDrawingArea (GtkWidget **widget, struct_combo *combo)
 Create drawing area Create the underlying drawing area of the zone.
void MarkHighlitedType (struct_combo *combo)
 Changes the background on the selected message type.
void MoveScrollBar (struct_combo *combo)
 Move the scroll bar This function moves the horizontal scroll bar if the autoscroll is enabled.
int ColorShort2Long (int input)
void checkbutton_toggled (GtkToggleButton *button, gpointer)
 Callback for checkbuttons Activates or deactivates a message type.
gboolean on_destroy (GtkWidget *, gpointer)
 Destroy callback Kill it self and the father.
gboolean speed_change (GtkRange *range, gpointer)
 Callback for speed change Gets the new value and sends it to the manager.
gboolean zone_pressed_callback (GtkWidget *widget, GdkEventButton *event, gpointer data)
 Function called when a zone was pressed Seeks to the position seleted and changes the highlited_type.
void button_callback (GtkButton *button, gpointer data)
 Main button callback This function is a callback for all buttons.
gboolean mouse_over (GtkWidget *, GdkEventCrossing *event, gpointer data)
 Mouse over callback Change marker background color.
gint timeout_callback (gpointer)
 GTK timeout. This function forces the GUI to sleep.
gboolean expose_event_callback (GtkWidget *widget, GdkEventExpose *, gpointer data)
 Redraw the underlying widget and timebars.
gboolean drag_event_callback (GtkWidget *, GdkEventButton *event, gpointer data)
 Draw event callback Sets or resets drawing state. If the marker was pressed begin drawing else stop draging.
gboolean motion_event_callback (GtkWidget *, GdkEventMotion *event, gpointer data)
 Drags the marker Drags the marker to a new position making a seek in the manager.
gboolean force_redraw (GtkWidget *widget)
gboolean h_scroll_moved (GtkRange *, GtkScrollType, gdouble, gpointer data)
 Callback for scroll bar moves This function checks if it was i that moved the scroll bar and if not we turn off the autoscroll. When the used moves the scroll bar by hand the autoscroll is disabled.

Variables

playback_command_message command_message
playback_status_message status_message

Detailed Description

Player GUI header.

Generated on Wed Jun 2 12:43:03 2010 for LAR Atlas by  doxygen 1.6.3