2009-07-31 16:32:24 -04:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
|
|
|
|
|
|
|
#ifndef __SHELL_DRAWING_H__
|
|
|
|
#define __SHELL_DRAWING_H__
|
|
|
|
|
|
|
|
#include <clutter/clutter.h>
|
2010-03-03 18:00:05 -05:00
|
|
|
#include "st.h"
|
2009-07-31 16:32:24 -04:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2010-03-31 16:01:34 -04:00
|
|
|
/* Note that these correspond to StSide */
|
2009-10-04 11:37:11 -04:00
|
|
|
typedef enum {
|
|
|
|
SHELL_POINTER_UP,
|
2010-03-31 16:01:34 -04:00
|
|
|
SHELL_POINTER_RIGHT,
|
2009-10-04 11:37:11 -04:00
|
|
|
SHELL_POINTER_DOWN,
|
2010-03-31 16:01:34 -04:00
|
|
|
SHELL_POINTER_LEFT
|
2009-10-04 11:37:11 -04:00
|
|
|
} ShellPointerDirection;
|
|
|
|
|
2010-03-03 18:00:05 -05:00
|
|
|
void shell_draw_box_pointer (StDrawingArea *area,
|
2010-03-31 16:01:34 -04:00
|
|
|
ShellPointerDirection direction);
|
2009-09-01 14:15:29 -04:00
|
|
|
|
2010-03-03 18:00:05 -05:00
|
|
|
void shell_draw_clock (StDrawingArea *area,
|
2009-07-31 16:32:24 -04:00
|
|
|
int hour,
|
|
|
|
int minute);
|
|
|
|
|
2009-08-04 09:48:15 -04:00
|
|
|
guint shell_add_hook_paint_red_border (ClutterActor *actor);
|
|
|
|
|
2009-07-31 16:32:24 -04:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __SHELL_GLOBAL_H__ */
|