linux
monitoring
raspberry-pi
automation
raspberrypi
mqtt
iot
internet-of-things
smarthome
dashboard
mqtt-hyperdash
control-systems
rule-engines
cockpit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
604 B
27 lines
604 B
/* MENU.H (c) Markus Hoffmann */ |
|
|
|
/* This file is part of MQTT-Hyperdash, the MQTT Dashboard |
|
* ============================================================ |
|
* MQTT-Hyperdash is free software and comes with NO WARRANTY - read the file |
|
* COPYING for details |
|
*/ |
|
|
|
typedef struct { |
|
int typ; |
|
char *text; |
|
void (*function)(); |
|
GtkWidget *widget; |
|
} MENUENTRY; |
|
|
|
#define MENU_TITLE 1 |
|
#define MENU_ENTRY 0 |
|
|
|
#define DEFAULT_ELEMENT 3 /* COMPOUND */ |
|
#define DEFAULT_GROUP 0 /* ACTIVITY */ |
|
|
|
extern GdkCursor *cursor; |
|
|
|
|
|
GtkWidget *init_menu(); |
|
void menu_set_default(); |
|
int add_element_group(char *text);
|
|
|