diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-02-17 20:29:23 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-02-17 20:29:23 +0100 |
commit | d2567a68842dbcdae1c722b0421ee551409f481e (patch) | |
tree | 32124946df7f21830b8023c3dc00833f434ea559 /include | |
parent | 99515f986e941a40948f3fca37713e0758c9a1c5 (diff) |
#219: Implement continious scroll
Diffstat (limited to 'include')
-rw-r--r-- | include/settings.h | 1 | ||||
-rw-r--r-- | include/textbox.h | 18 |
2 files changed, 10 insertions, 9 deletions
diff --git a/include/settings.h b/include/settings.h index a6e3eddf..9b96c633 100644 --- a/include/settings.h +++ b/include/settings.h @@ -149,6 +149,7 @@ typedef struct _Settings /** Number threads (1 to disable) */ unsigned int threads; unsigned int scrollbar_width; + unsigned int scroll_method; } Settings; /** Global Settings structure. */ extern Settings config; diff --git a/include/textbox.h b/include/textbox.h index 757b1c62..c321eb47 100644 --- a/include/textbox.h +++ b/include/textbox.h @@ -42,15 +42,15 @@ typedef struct typedef enum { - TB_AUTOHEIGHT = 1 << 0, - TB_AUTOWIDTH = 1 << 1, - TB_LEFT = 1 << 16, - TB_RIGHT = 1 << 17, - TB_CENTER = 1 << 18, - TB_EDITABLE = 1 << 19, - TB_MARKUP = 1 << 20, - TB_WRAP = 1 << 21, - TB_PASSWORD = 1 << 22, + TB_AUTOHEIGHT = 1 << 0, + TB_AUTOWIDTH = 1 << 1, + TB_LEFT = 1 << 16, + TB_RIGHT = 1 << 17, + TB_CENTER = 1 << 18, + TB_EDITABLE = 1 << 19, + TB_MARKUP = 1 << 20, + TB_WRAP = 1 << 21, + TB_PASSWORD = 1 << 22, } TextboxFlags; typedef enum |