summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/data.h b/src/data.h
index c968db9..d4e6a82 100644
--- a/src/data.h
+++ b/src/data.h
@@ -35,6 +35,13 @@
typedef struct rp_window rp_window;
typedef struct screen_info screen_info;
typedef struct rp_action rp_action;
+typedef struct rp_window_frame rp_window_frame;
+
+struct rp_window_frame
+{
+ int x, y, width, height;
+};
+
struct rp_window
{
@@ -62,6 +69,9 @@ struct rp_window
/* Saved mouse position */
int mouse_x, mouse_y;
+ /* Frame for split screen */
+ rp_window_frame *frame;
+
rp_window *next, *prev;
};