summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-09-10 10:58:47 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2017-09-10 14:53:15 (GMT)
commitd627b930f2d70da0c6a8bd7481050a288db628c9 (patch)
treee70f64de7c9aff25cd7442371f03070af7d3102b
parent50688cde51ae5f78af59a43d56ad687f62e9bfe5 (diff)
downloadnetsurf-d627b930f2d70da0c6a8bd7481050a288db628c9.tar.gz
netsurf-d627b930f2d70da0c6a8bd7481050a288db628c9.tar.bz2
Treeview: API: Allow treeview fields to be flagged searchable.
-rw-r--r--desktop/treeview.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/desktop/treeview.h b/desktop/treeview.h
index b9347d2..a8cf29a 100644
--- a/desktop/treeview.h
+++ b/desktop/treeview.h
@@ -114,11 +114,12 @@ struct treeview_node_msg {
* treeview field flags
*/
enum treeview_field_flags {
- TREE_FLAG_NONE = 0, /**< No flags set */
- TREE_FLAG_ALLOW_EDIT = (1 << 0), /**< Whether allow edit field */
- TREE_FLAG_DEFAULT = (1 << 1), /**< Whether field is default */
- TREE_FLAG_SHOW_NAME = (1 << 2), /**< Whether field name shown */
- TREE_FLAG_COPY_TEXT = (1 << 3) /**< Whether to copy to clipb */
+ TREE_FLAG_NONE = 0, /**< No flags set */
+ TREE_FLAG_ALLOW_EDIT = (1 << 0), /**< Whether allow edit field */
+ TREE_FLAG_DEFAULT = (1 << 1), /**< Whether field is default */
+ TREE_FLAG_SHOW_NAME = (1 << 2), /**< Whether field name shown */
+ TREE_FLAG_COPY_TEXT = (1 << 3), /**< Whether to copy to clipb */
+ TREE_FLAG_SEARCHABLE = (1 << 4), /**< Whether field is searchable */
};