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
|
|
|
|
|
2022-05-16 08:53:15 +00:00
|
|
|
<<<<<<< HEAD
|
2022-05-16 07:49:06 +00:00
|
|
|
#define KEYBINDS static Key keys[]
|
|
|
|
#define APPERANCE static int appearance[]
|
|
|
|
#define OPTIONS static char *options[]
|
2022-05-16 08:53:15 +00:00
|
|
|
=======
|
|
|
|
>>>>>>> 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,
|
2022-05-12 20:33:09 +00:00
|
|
|
search,
|
2022-05-13 10:30:15 +00:00
|
|
|
find,
|
|
|
|
findnext,
|
|
|
|
findprev,
|
2022-05-12 20:33:09 +00:00
|
|
|
zoomin,
|
2022-05-12 22:45:02 +00:00
|
|
|
zoomout,
|
2022-05-13 12:08:29 +00:00
|
|
|
zoomreset,
|
2022-05-12 22:45:02 +00:00
|
|
|
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
|
|
|
};
|