display_utils.h File Reference

Display update wrapper functions. More...

#include <glib.h>
#include "er_error.h"
Include dependency graph for display_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DM_HINT_NONE   0
#define DM_HINT_FULL   1
#define DM_HINT_SPLASH   2
#define DM_HINT_CURSOR   3
#define DM_HINT_PARTIAL   4
#define DM_HINT_KEY   5
#define DM_HINT_UNLOCK   6
#define DM_HINT_LOCK   7

Functions

void display_init ()
void display_finialize ()
void display_gain_control ()
void display_return_control ()
void display_update_return_control (gint type)
void display_update_keep_control (gint type)
void display_splash_lock ()
void display_update_keep_splash_lock ()
void display_splash_unlock ()

Detailed Description

Display update wrapper functions.

Definition in file display_utils.h.


Define Documentation

#define DM_HINT_CURSOR   3
#define DM_HINT_FULL   1
#define DM_HINT_KEY   5
#define DM_HINT_LOCK   7

Definition at line 72 of file display_utils.h.

Referenced by display_splash_lock(), parse_gtk_message(), and parse_gtk_messages().

#define DM_HINT_NONE   0

Copyright (C) 2009 iRex Technologies B.V. All rights reserved.

Definition at line 65 of file display_utils.h.

Referenced by display_gain_control(), display_return_control(), parse_gtk_message(), and parse_gtk_messages().

#define DM_HINT_PARTIAL   4
#define DM_HINT_SPLASH   2
#define DM_HINT_UNLOCK   6

Definition at line 71 of file display_utils.h.

Referenced by display_splash_unlock(), parse_gtk_message(), and parse_gtk_messages().


Function Documentation

void display_finialize (  ) 

Definition at line 88 of file display_utils.c.

References dm_socket.

00089 {
00090     if (dm_socket != -1)
00091     {
00092         close(dm_socket);
00093     }
00094 }

void display_gain_control (  ) 

Definition at line 96 of file display_utils.c.

References DM_HINT_NONE, and send_message().

Referenced by erkeyb_stop_display_update(), fileview_stop_update_display(), main(), notepad_stop_display_update(), on_menu_move_scroll(), on_menu_move_selected(), on_phase_2_complete(), set_active(), show_busy(), show_splash(), and sys_set_orientation().

00097 {
00098     send_message(TRUE, DM_HINT_NONE);
00099 }

Here is the call graph for this function:

Here is the caller graph for this function:

void display_init (  ) 

Definition at line 79 of file display_utils.c.

00080 {
00081     if (dm_socket == -1)
00082     {
00083         init_socket();
00084     }
00085 }

void display_return_control (  ) 

Definition at line 102 of file display_utils.c.

References DM_HINT_NONE, and send_message().

Referenced by dialog_splash_remove(), notepad_start_display_update(), on_phase_3_complete(), show_busy(), and start_phase_2().

00103 {
00104     send_message(FALSE, DM_HINT_NONE);
00105 }

Here is the call graph for this function:

Here is the caller graph for this function:

void display_splash_lock (  ) 

Definition at line 120 of file display_utils.c.

References DM_HINT_LOCK, and send_message().

Referenced by show_splash().

00121 {
00122     send_message(TRUE, DM_HINT_LOCK);
00123 }

Here is the call graph for this function:

Here is the caller graph for this function:

void display_splash_unlock (  ) 

Definition at line 132 of file display_utils.c.

References DM_HINT_UNLOCK, and send_message().

Referenced by dialog_splash_remove().

00133 {
00134     send_message(TRUE, DM_HINT_UNLOCK);
00135 }

Here is the call graph for this function:

Here is the caller graph for this function:

void display_update_keep_control ( gint  type  ) 

Referenced by erkeyb_display_update(), and notepad_display_update().

Here is the caller graph for this function:

void display_update_keep_splash_lock (  ) 

Definition at line 126 of file display_utils.c.

References DM_HINT_SPLASH, and send_message().

Referenced by dialog_rotated(), and on_splash_expose().

00127 {
00128     send_message(TRUE, DM_HINT_SPLASH);
00129 }

Here is the call graph for this function:

Here is the caller graph for this function:

void display_update_return_control ( gint  type  ) 

Referenced by erkeyb_display_yield(), notepad_display_yield(), on_rotated(), and update_display().

Here is the caller graph for this function:

Generated by  doxygen 1.6.2-20100208