summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-09-09 17:24:18 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2017-09-10 14:53:15 (GMT)
commit521651ea5194ec1aac65d95c8e0bd33000b6bad9 (patch)
treeb7a1d72623cd194f5845ab918a2baea15cf0e962
parent8123e65351788fa633962c4f5e1bb41f1ef346e2 (diff)
downloadnetsurf-521651ea5194ec1aac65d95c8e0bd33000b6bad9.tar.gz
netsurf-521651ea5194ec1aac65d95c8e0bd33000b6bad9.tar.bz2
Treeview: API: Add searchable flag for treeview creation.
-rw-r--r--desktop/treeview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/treeview.h b/desktop/treeview.h
index 45469b7..b9347d2 100644
--- a/desktop/treeview.h
+++ b/desktop/treeview.h
@@ -76,7 +76,8 @@ typedef enum {
TREEVIEW_NO_MOVES = (1 << 0), /**< No node drags */
TREEVIEW_NO_DELETES = (1 << 1), /**< No node deletes */
TREEVIEW_READ_ONLY = TREEVIEW_NO_MOVES | TREEVIEW_NO_DELETES,
- TREEVIEW_DEL_EMPTY_DIRS = (1 << 2) /**< Delete dirs on empty */
+ TREEVIEW_DEL_EMPTY_DIRS = (1 << 2), /**< Delete dirs on empty */
+ TREEVIEW_SEARCHABLE = (1 << 3), /**< Treeview has search bar */
} treeview_flags;
/**