summaryrefslogtreecommitdiffstats
path: root/thumbs.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-09-11 21:01:24 +0200
committerBert <ber.t@gmx.com>2011-09-11 21:01:24 +0200
commitb2a2a62b7b8a066467d7e8ef520fef7c17e3c5ca (patch)
treec13904baa041941854a7550f883ba38e14205f1e /thumbs.h
parente2d4b9c7915a2a356cae04d33f1713ae224fbe7e (diff)
downloadnsxiv-b2a2a62b7b8a066467d7e8ef520fef7c17e3c5ca.tar.zst
Added own bool type
Diffstat (limited to 'thumbs.h')
-rw-r--r--thumbs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/thumbs.h b/thumbs.h
index 47f7ba8..92f5726 100644
--- a/thumbs.h
+++ b/thumbs.h
@@ -44,8 +44,8 @@ typedef struct {
int rows;
int first;
int sel;
- unsigned char alpha;
- unsigned char dirty;
+ bool alpha;
+ bool dirty;
} tns_t;
void tns_clean_cache(tns_t*);
@@ -53,13 +53,13 @@ void tns_clean_cache(tns_t*);
void tns_init(tns_t*, int);
void tns_free(tns_t*);
-int tns_load(tns_t*, int, const fileinfo_t*, Bool, Bool);
+bool tns_load(tns_t*, int, const fileinfo_t*, bool, bool);
void tns_render(tns_t*, win_t*);
-void tns_highlight(tns_t*, win_t*, int, Bool);
+void tns_highlight(tns_t*, win_t*, int, bool);
-int tns_move_selection(tns_t*, win_t*, direction_t);
-int tns_scroll(tns_t*, direction_t);
+bool tns_move_selection(tns_t*, win_t*, direction_t);
+bool tns_scroll(tns_t*, direction_t);
int tns_translate(tns_t*, int, int);