summaryrefslogtreecommitdiff
path: root/src/split.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2002-10-18 08:39:17 +0000
committersabetts <sabetts>2002-10-18 08:39:17 +0000
commit306424d93d5a1a379a751394acbc696415b4281b (patch)
tree9af6849d515046d8414f7e6ac7db6cc6104fbbd1 /src/split.h
parentcb9b0e5ee455fd615338baf828fd3ea8a541b395 (diff)
downloadratpoison-306424d93d5a1a379a751394acbc696415b4281b.zip
* src/split.c (VERTICALLY): new define
(VERTICALLY): likewise (split_frame): new argument 'pixels'. The current frame is split and resized to 'pixels' pixels. (v_split_frame): new argument 'pixels'. prototype updated. (h_split_frame): likewise * src/actions.c (user_commands): hsplit, vsplit, and split take a string argument. (read_split): new function (cmd_h_split): takes a ratio or number to determine how big the frame split will be. (cmd_v_split): likewise
Diffstat (limited to 'src/split.h')
-rw-r--r--src/split.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/split.h b/src/split.h
index 606981e..7879329 100644
--- a/src/split.h
+++ b/src/split.h
@@ -24,8 +24,8 @@
rp_window *set_frames_window (rp_window_frame *frame, rp_window *win);
void maximize_all_windows_in_frame (rp_window_frame *frame);
-void h_split_frame (rp_window_frame *frame);
-void v_split_frame (rp_window_frame *frame);
+void h_split_frame (rp_window_frame *frame, int pixels);
+void v_split_frame (rp_window_frame *frame, int pixels);
void remove_all_splits ();
void remove_frame (rp_window_frame *frame);
rp_window *find_window_for_frame (rp_window_frame *frame);