diff options
author | Bert <ber.t@gmx.com> | 2011-09-11 21:01:24 +0200 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-09-11 21:01:24 +0200 |
commit | b2a2a62b7b8a066467d7e8ef520fef7c17e3c5ca (patch) | |
tree | c13904baa041941854a7550f883ba38e14205f1e /thumbs.h | |
parent | e2d4b9c7915a2a356cae04d33f1713ae224fbe7e (diff) | |
download | nsxiv-b2a2a62b7b8a066467d7e8ef520fef7c17e3c5ca.tar.zst |
Added own bool type
Diffstat (limited to 'thumbs.h')
-rw-r--r-- | thumbs.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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); |