2022-05-10 17:52:56 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <gdk/gdk.h>
|
|
|
|
#include <gdk/gdkkeysyms.h>
|
|
|
|
|
2022-05-13 10:30:15 +00:00
|
|
|
#define MODSHIFT 5
|
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,
|
|
|
|
down,
|
|
|
|
up
|
2022-05-10 17:52:56 +00:00
|
|
|
};
|