]> Dogcows Code - chaz/tint2/blob - src/launcher/launcher.h
added more
[chaz/tint2] / src / launcher / launcher.h
1 /**************************************************************************
2 * Copyright (C) 2010 (mrovi@interfete-web-club.com)
3 *
4 *
5 **************************************************************************/
6
7 #ifndef LAUNCHER_H
8 #define LAUNCHER_H
9
10 #include "common.h"
11 #include "area.h"
12
13 typedef struct Launcher {
14 // always start with area
15 Area area;
16 GSList *list_icon_paths;
17 GSList *list_cmds;
18 GSList *list_icons;
19 } Launcher;
20
21 typedef struct LauncherIcon {
22 Imlib_Image icon;
23 char *cmd;
24 int x, y;
25 int width, height;
26 } LauncherIcon;
27
28 extern int launcher_enabled;
29 extern int launcher_max_icon_size;
30
31 // default global data
32 void default_launcher();
33
34 // initialize launcher : y position, precision, ...
35 void init_launcher();
36 void init_launcher_panel(void *panel);
37 void cleanup_launcher();
38
39 void resize_launcher(void *obj);
40 void draw_launcher (void *obj, cairo_t *c);
41
42 void launcher_action(LauncherIcon *icon);
43
44 #endif
This page took 0.041337 seconds and 5 git commands to generate.