#pragma once #include #include #include #define ALTKEY GDK_ALT_MASK #define MODKEY GDK_CONTROL_MASK #define MODSFT 5 #define NOMODK 0 #define CACHE 0 #define HOMEPAGE 1 #define DEFAULT 0 #define HEIGHT 0 #define WIDTH 1 #define DARKMODE 2 #define SCROLLBARS 3 typedef struct { unsigned modkey; unsigned keycod; unsigned funcid; } Key; enum { goback, goforward, copy_url, paste_url, fullscreen, inspector, search, find, findnext, findprev, zoomin, zoomout, zoomreset, down, up, reload, reloadforce, history, gotop, gobottom, tabnext, tabprev };