rosenrot/keyconf.h

56 lines
789 B
C
Raw Normal View History

2022-05-10 17:52:56 +00:00
#pragma once
#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h>
2022-05-13 16:41:48 +00:00
#include <stdbool.h>
2022-05-10 17:52:56 +00:00
2022-05-13 16:41:48 +00:00
#define MODKEY GDK_CONTROL_MASK
#define MODSFT 5
#define NOMODK 0
#define CACHE 0
#define HOMEPAGE 1
2022-05-13 18:37:50 +00:00
#define DEFAULT 0
2022-05-13 16:41:48 +00:00
#define HEIGHT 0
#define WIDTH 1
#define DARKMODE 2
#define SCROLLBARS 3
<<<<<<< HEAD
#define KEYBINDS static Key keys[]
#define APPERANCE static int appearance[]
#define OPTIONS static char *options[]
=======
>>>>>>> 1d622de7971b8439866dfb2873d0b33004437431
2022-05-10 18:28:39 +00:00
2022-05-10 17:52:56 +00:00
typedef struct {
unsigned modkey;
unsigned keycod;
unsigned funcid;
} Key;
enum {
goback,
goforward,
copy_url,
2022-05-10 18:28:39 +00:00
paste_url,
2022-05-10 21:47:17 +00:00
fullscreen,
inspector,
search,
2022-05-13 10:30:15 +00:00
find,
findnext,
findprev,
zoomin,
zoomout,
2022-05-13 12:08:29 +00:00
zoomreset,
down,
2022-05-13 12:08:29 +00:00
up,
reload,
2022-05-13 16:41:48 +00:00
reloadforce,
2022-05-14 10:04:26 +00:00
history,
gotop,
gobottom
2022-05-10 17:52:56 +00:00
};