2009-07-31 20:32:24 +00: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 23:00:05 +00:00
|
|
|
#include "st.h"
|
2009-07-31 20:32:24 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2010-03-31 20:01:34 +00:00
|
|
|
/* Note that these correspond to StSide */
|
2009-10-04 15:37:11 +00:00
|
|
|
typedef enum {
|
|
|
|
SHELL_POINTER_UP,
|
2010-03-31 20:01:34 +00:00
|
|
|
SHELL_POINTER_RIGHT,
|
2009-10-04 15:37:11 +00:00
|
|
|
SHELL_POINTER_DOWN,
|
2010-03-31 20:01:34 +00:00
|
|
|
SHELL_POINTER_LEFT
|
2009-10-04 15:37:11 +00:00
|
|
|
} ShellPointerDirection;
|
|
|
|
|
2010-03-03 23:00:05 +00:00
|
|
|
void shell_draw_box_pointer (StDrawingArea *area,
|
2010-03-31 20:01:34 +00:00
|
|
|
ShellPointerDirection direction);
|
2009-09-01 18:15:29 +00:00
|
|
|
|
2010-03-03 23:00:05 +00:00
|
|
|
void shell_draw_clock (StDrawingArea *area,
|
2009-07-31 20:32:24 +00:00
|
|
|
int hour,
|
|
|
|
int minute);
|
|
|
|
|
2009-08-04 13:48:15 +00:00
|
|
|
guint shell_add_hook_paint_red_border (ClutterActor *actor);
|
|
|
|
|
2009-07-31 20:32:24 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __SHELL_GLOBAL_H__ */
|