diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2017-10-10 12:46:53 -0500 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:53:24 -0600 |
commit | a8314643b1aeaa2187dad71dc5748aaac1760c1b (patch) | |
tree | 563c3943af0790e419eae99da709b9dd5fd5cefb /st.h | |
parent | a09138afa57adb4b76dba8ca72dc7ee2642a5c8d (diff) | |
download | st-patched-a8314643b1aeaa2187dad71dc5748aaac1760c1b.tar.bz2 st-patched-a8314643b1aeaa2187dad71dc5748aaac1760c1b.tar.xz st-patched-a8314643b1aeaa2187dad71dc5748aaac1760c1b.zip |
Move window-manipulating functions into x.c
xresize is now internal to x.c
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.h')
-rw-r--r-- | st.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -80,11 +80,6 @@ enum selection_snap { | |||
80 | SNAP_LINE = 2 | 80 | SNAP_LINE = 2 |
81 | }; | 81 | }; |
82 | 82 | ||
83 | enum window_state { | ||
84 | WIN_VISIBLE = 1, | ||
85 | WIN_FOCUSED = 2 | ||
86 | }; | ||
87 | |||
88 | typedef unsigned char uchar; | 83 | typedef unsigned char uchar; |
89 | typedef unsigned int uint; | 84 | typedef unsigned int uint; |
90 | typedef unsigned long ulong; | 85 | typedef unsigned long ulong; |
@@ -186,6 +181,7 @@ void redraw(void); | |||
186 | 181 | ||
187 | int tattrset(int); | 182 | int tattrset(int); |
188 | void tnew(int, int); | 183 | void tnew(int, int); |
184 | void tresize(int, int); | ||
189 | void tsetdirt(int, int); | 185 | void tsetdirt(int, int); |
190 | void tsetdirtattr(int); | 186 | void tsetdirtattr(int); |
191 | int match(uint, uint); | 187 | int match(uint, uint); |
@@ -198,15 +194,12 @@ void ttywrite(const char *, size_t); | |||
198 | void resettitle(void); | 194 | void resettitle(void); |
199 | 195 | ||
200 | char *kmap(KeySym, uint); | 196 | char *kmap(KeySym, uint); |
201 | void cresize(int, int); | ||
202 | void selclear(void); | 197 | void selclear(void); |
203 | 198 | ||
204 | void selinit(void); | 199 | void selinit(void); |
205 | void selnormalize(void); | 200 | void selnormalize(void); |
206 | int selected(int, int); | 201 | int selected(int, int); |
207 | char *getsel(void); | 202 | char *getsel(void); |
208 | int x2col(int); | ||
209 | int y2row(int); | ||
210 | 203 | ||
211 | size_t utf8decode(char *, Rune *, size_t); | 204 | size_t utf8decode(char *, Rune *, size_t); |
212 | size_t utf8encode(Rune, char *); | 205 | size_t utf8encode(Rune, char *); |