~ubuntu-branches/ubuntu/trusty/gcompris/trusty

« back to all changes in this revision

Viewing changes to src/gcompris/timer.h

  • Committer: Bazaar Package Importer
  • Author(s): Yann Dirson
  • Date: 2006-12-15 23:08:17 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20061215230817-exr5ks1hd73s3tlk
Tags: 8.2.2-1
* New upstream bugfix release, fixes among other things the support for
  the version of gnucap shipped in etch.
* Add missing dependency on python-gtk2 (Closes: #396523).
* Removed reference to non-existent sound file from memory.c (upstream
  fix - impacts 8.2 as well).  
* Now suggests gnuchess, gnucap, and tuxpaint.
* Updated extended description for the main package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
typedef enum
31
31
{
32
 
  GCOMPRIS_TIMER_TEXT           = 0,
33
 
  GCOMPRIS_TIMER_SAND           = 1,
34
 
  GCOMPRIS_TIMER_BALLOON        = 2,
35
 
  GCOMPRIS_TIMER_CLOCK          = 3,
 
32
  GCOMPRIS_TIMER_TEXT,
 
33
  GCOMPRIS_TIMER_SAND,
 
34
  GCOMPRIS_TIMER_BALLOON,
 
35
  GCOMPRIS_TIMER_CLOCK,
36
36
} TimerList;
37
37
 
38
38
/* Callback when the timer is completed */
39
39
typedef void          (*GcomprisTimerEnd)       ();
40
40
 
41
 
void     gcompris_timer_display(int x, int y, TimerList type, int second, GcomprisTimerEnd gcomprisTimerEnd);
42
 
void     gcompris_timer_add(int second);
43
 
void     gcompris_timer_end(void);
44
 
guint    gcompris_timer_get_remaining();
45
 
void     gcompris_timer_pause(gboolean pause);
 
41
void     gc_timer_display(int x, int y, TimerList type, int second, GcomprisTimerEnd gcomprisTimerEnd);
 
42
void     gc_timer_add(int second);
 
43
void     gc_timer_end(void);
 
44
guint    gc_timer_get_remaining();
 
45
void     gc_timer_pause(gboolean pause);
46
46
 
47
47
#endif