summaryrefslogtreecommitdiff
path: root/desktop/treeview.h
Commit message (Collapse)AuthorAgeFilesLines
* Treeview: Rationalise initialisation and finalisation.Michael Drake2016-08-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the expected behaviour for front ends using the correct API for hotlist, global history, cookie manager, and ssl cert viewer was that the front end would initialise the treeview module on startup and finalise it on application exit. However, this meant that the front ends had to include the core treeview header, which they didn't otherwise need. Since the tree module provided access to the new treeview utilities through the old tree API, and was used by front ends with no changes for the new treeview API, the tree layer refcounted initialisations of treeview-based widgets, and only called the underlying treeview init/fini functions when needed. This change moves that refcounting into the treeview module. Now the hotlist, global history, cookie manager, and ssl cert viewer widgets call call treeview init/fini as part of their own initialisation and finalisation. This means that front ends using the correct APIs for treeview-based widgets don't need to know anything about the underlying treeview, and the tree module compatibility layer has had its treeview refcounting removed. Finally, the treeview_init function took a font size parameter. Now it does not and lit gets font size from config. We probably want to add a new `treeview_font_size` option to nsoptions, and have differnent defaults on different platforms. 12pt on RISC OS, and 11pt elsewhere, most likely.
* remove unecessary textinput header use from treeview headerVincent Sanders2016-06-301-4/+5
|
* remove unecessary content API usage from atari frontendVincent Sanders2016-06-081-0/+1
|
* move mouse and pointer state header into public APIVincent Sanders2016-05-301-1/+1
|
* Add ability to copy text from marked fields in selected nodes to clipboard.Michael Drake2015-01-031-2/+2
|
* fix up more doxygen errorsVincent Sanders2014-11-081-5/+5
|
* remove unecessary utils/types.hVincent Sanders2014-11-021-1/+2
| | | | | | This cleans up this header and moves the functionality into more useful places while reducing the include complexity but only pulling in whats required.
* remove content include from urldb headerVincent Sanders2014-07-171-0/+1
|
* Fix hotlist and global_history _get_selection functions.Michael Drake2014-05-241-4/+7
| | | | | Broken when selection was folder, rather than entry. Renamed tree_node_flags lables to avoid TREE_NODE_NONE name clash.
* Visual indication of hotlist's folder for unsorted entries, with special icon.Michael Drake2013-11-081-2/+3
|
* Add functions to get first selected hotlist/global_history node data.Michael Drake2013-09-131-0/+8
|
* Enable front end to select treeview text size.Michael Drake2013-09-091-1/+2
|
* Add a pair of recursive expand/contract functions.Michael Drake2013-09-031-1/+19
|
* Polish node deletion.Michael Drake2013-08-301-1/+1
|
* Improve callback suppression options. Reduce unnecessary callback usage.Michael Drake2013-08-301-9/+11
|
* Add flag to suppress redraw on node creation.Michael Drake2013-08-291-2/+3
|
* Remove select all and clear selection functions from public API. Clients ↵Michael Drake2013-08-281-18/+0
| | | | can send KEY_SELECT_ALL and KEY_CLEAR_SELECTION to the keypress handler.
* Simple treeview_edit_selection implementation.Michael Drake2013-08-281-0/+7
|
* Function to get releations for node entry.Michael Drake2013-08-271-0/+19
|
* Expose leaving node callback in public treeview walker interface.Michael Drake2013-08-221-5/+9
|
* Add folder node update function.Michael Drake2013-08-201-0/+16
|
* Pass edit message to treeview client, when editing ends.Michael Drake2013-08-201-1/+1
|
* Expose treeview walker.Michael Drake2013-07-251-0/+37
|
* Make node delete callback msg differentiate between deletes caused by user ↵Michael Drake2013-07-151-0/+3
| | | | interaction and other deletes (e.g. treeview destruction).
* Typedefs for internal treeview and treeview_node structs.Michael Drake2013-07-031-24/+22
|
* Make READ_ONLY flag a combinator for NO_MOVES and NO_DELETES. Implement ↵Michael Drake2013-07-031-4/+5
| | | | NO_DELETES.
* Add treeview behaviour flags.Michael Drake2013-07-031-2/+10
|
* Make flags for suppress resize.Michael Drake2013-07-021-4/+9
|
* Add quite param to insertion calls to suppress treeview height callback.Michael Drake2013-07-011-2/+12
|
* Start keypress handling.Michael Drake2013-07-011-0/+10
|
* Say which functions are documented in the header.Michael Drake2013-06-181-1/+1
|
* Remove unused function.Michael Drake2013-06-181-2/+0
|
* Add documentation.Michael Drake2013-06-181-19/+138
|
* Enable double click to launch from treeview.Michael Drake2013-06-041-7/+7
|
* Make releationship enum meanings clearer.Michael Drake2013-06-041-2/+2
|
* Clean up history node deletion -- now treeview driven. Add select all, ↵Michael Drake2013-06-031-1/+21
| | | | selection clear, has selection functions. Improve selection handling. Enable double click to toggle node expansion. Improve redraw behaviour. Make treeview call node callback for deletion. Fix redraw issues.
* cw handle can't be const.Michael Drake2013-05-311-1/+1
|
* Make node flags for expanded and selected. Start mouse action support. ↵Michael Drake2013-05-311-0/+11
| | | | (Little more than a stub.)
* Add first pass at new treeview.Michael Drake2013-05-311-0/+123
Only supports creation, destruction, and redraw atm. TODO: input handling (mouse, keyboard), editing, using the node callbacks. Also includes new core_window.h.