aboutsummaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2017-10-10 12:46:53 -0500
committerDevin J. Pohly <djpohly@gmail.com>2018-02-25 21:53:24 -0600
commita8314643b1aeaa2187dad71dc5748aaac1760c1b (patch)
tree563c3943af0790e419eae99da709b9dd5fd5cefb /st.h
parenta09138afa57adb4b76dba8ca72dc7ee2642a5c8d (diff)
downloadst-a8314643b1aeaa2187dad71dc5748aaac1760c1b.tar.gz
st-a8314643b1aeaa2187dad71dc5748aaac1760c1b.tar.bz2
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.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/st.h b/st.h
index 2199c13..5d44411 100644
--- a/st.h
+++ b/st.h
@@ -80,11 +80,6 @@ enum selection_snap {
SNAP_LINE = 2
};
-enum window_state {
- WIN_VISIBLE = 1,
- WIN_FOCUSED = 2
-};
-
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
@@ -186,6 +181,7 @@ void redraw(void);
int tattrset(int);
void tnew(int, int);
+void tresize(int, int);
void tsetdirt(int, int);
void tsetdirtattr(int);
int match(uint, uint);
@@ -198,15 +194,12 @@ void ttywrite(const char *, size_t);
void resettitle(void);
char *kmap(KeySym, uint);
-void cresize(int, int);
void selclear(void);
void selinit(void);
void selnormalize(void);
int selected(int, int);
char *getsel(void);
-int x2col(int);
-int y2row(int);
size_t utf8decode(char *, Rune *, size_t);
size_t utf8encode(Rune, char *);