notepad_display_sched.h File Reference

#include <gtk/gtk.h>
#include "liberutils/display_utils.h"
Include dependency graph for notepad_display_sched.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

G_BEGIN_DECLS void notepad_stop_display_update (void)
void notepad_start_display_update (void)
gboolean notepad_display_update (gpointer data)
void notepad_on_idle_display_update (gint type)
void notepad_on_timeout_display_update (gint timeout, gint type)
gboolean notepad_display_yield (gpointer data)
void notepad_on_idle_display_yield (gint type)
void notepad_on_timeout_display_yield (gint timeout, gint type)

Function Documentation

gboolean notepad_display_update ( gpointer  data  ) 

Definition at line 89 of file notepad_display_sched.cpp.

References display_update_keep_control(), and g_have_control.

Referenced by notepad_on_idle_display_update(), and notepad_on_timeout_display_update().

00090 {
00091     if ( g_have_control )
00092     {
00093         display_update_keep_control((gint) data);
00094     }
00095     return FALSE;
00096 }

Here is the call graph for this function:

Here is the caller graph for this function:

gboolean notepad_display_yield ( gpointer  data  ) 

Definition at line 79 of file notepad_display_sched.cpp.

References display_update_return_control(), and g_have_control.

Referenced by notepad_on_idle_display_yield(), and notepad_on_timeout_display_yield().

00080 {
00081     if ( g_have_control )
00082     {
00083         display_update_return_control((gint) data);
00084         g_have_control = FALSE;
00085     }
00086     return FALSE;
00087 }

Here is the call graph for this function:

Here is the caller graph for this function:

void notepad_on_idle_display_update ( gint  type  ) 

Definition at line 106 of file notepad_display_sched.cpp.

References g_have_control, and notepad_display_update().

00107 {
00108     if ( g_have_control )
00109     {
00110         g_idle_add(notepad_display_update, (gpointer) type );
00111     }
00112 }

Here is the call graph for this function:

void notepad_on_idle_display_yield ( gint  type  ) 

Definition at line 98 of file notepad_display_sched.cpp.

References g_have_control, and notepad_display_yield().

Referenced by notepad::CNotepadWindow::update().

00099 {
00100     if ( g_have_control )
00101     {
00102         g_idle_add(notepad_display_yield, (gpointer) type );
00103     }
00104 }

Here is the call graph for this function:

Here is the caller graph for this function:

void notepad_on_timeout_display_update ( gint  timeout,
gint  type 
)

Definition at line 122 of file notepad_display_sched.cpp.

References g_have_control, and notepad_display_update().

00123 {
00124     if ( g_have_control )
00125     {
00126         g_timeout_add(timeout, notepad_display_update, (gpointer) type );
00127     }
00128 }

Here is the call graph for this function:

void notepad_on_timeout_display_yield ( gint  timeout,
gint  type 
)

Definition at line 114 of file notepad_display_sched.cpp.

References g_have_control, and notepad_display_yield().

00115 {
00116     if ( g_have_control )
00117     {
00118         g_timeout_add(timeout, notepad_display_yield, (gpointer) type );
00119     }
00120 }

Here is the call graph for this function:

void notepad_start_display_update ( void   ) 

Definition at line 70 of file notepad_display_sched.cpp.

References display_return_control(), and g_have_control.

Referenced by notepad::CNotepadWindow::update().

00071 {
00072     if (g_have_control )
00073     {
00074         g_have_control = FALSE;
00075         display_return_control();
00076     }
00077 }

Here is the call graph for this function:

Here is the caller graph for this function:

G_BEGIN_DECLS void notepad_stop_display_update ( void   ) 

File Name : notepad-display-sched.h

Description: Functions to trigger display updates on an e-ink device Copyright (C) 2010 IREX Technologies B.V. All rights reserved.

Definition at line 61 of file notepad_display_sched.cpp.

References display_gain_control(), and g_have_control.

Referenced by notepad::CNotepadWindow::update().

00062 {
00063     if (! g_have_control )
00064     {
00065         g_have_control = TRUE;
00066         display_gain_control();
00067     }
00068 }

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  doxygen 1.6.2-20100208