summaryrefslogtreecommitdiff
path: root/desktop/tree.c
Commit message (Collapse)AuthorAgeFilesLines
* Use gui_ interface to get system colours, rather than nosoption_.Michael Drake2012-03-271-13/+13
| | | | svn path=/trunk/netsurf/; revision=13736
* Expose tree_setup_colours so it can be called from frontends if the systemChris Young2012-03-261-1/+1
| | | | | | | colour scheme changes. svn path=/trunk/netsurf/; revision=13730
* Use system colours for treeview. Front ends must be updated to set them.Michael Drake2012-03-251-13/+22
| | | | svn path=/trunk/netsurf/; revision=13705
* NetSurf options rework (a=vince r=daniels,jmb)Vincent Sanders2012-03-221-12/+13
| | | | svn path=/trunk/netsurf/; revision=13548
* Redraw old width after deletion too.Michael Drake2011-12-241-3/+5
| | | | svn path=/trunk/netsurf/; revision=13340
* Delete comment that seems incorrect.Michael Drake2011-12-201-3/+0
| | | | svn path=/trunk/netsurf/; revision=13307
* When deleting multiple treeview nodes, don't redraw after every node is ↵Michael Drake2011-12-201-3/+31
| | | | | | deleted, only after the whole lot has gone. (Much faster.) Fix redraw to clear bottom of treeview after deleting nodes. svn path=/trunk/netsurf/; revision=13306
* Allow new (blank) hotlist entries to be created in the currently-selected folderChris Young2011-11-271-1/+13
| | | | | | | | | (if there is one) as this gives the user more control where their additions are being created. Functionality can be enabled/disabled by passing true/false to hotlist_add_folder/hotlist_add_entry. svn path=/trunk/netsurf/; revision=13185
* Trap RMB and select the node under the pointer if no other node selectedChris Young2011-11-111-0/+23
| | | | svn path=/trunk/netsurf/; revision=13146
* fix redrawChris Young2011-11-101-2/+2
| | | | svn path=/trunk/netsurf/; revision=13143
* Make default folder appear different (redraw seems to be broken at present)Chris Young2011-11-101-3/+46
| | | | svn path=/trunk/netsurf/; revision=13142
* Make default hotlist folder persistent across sessionsChris Young2011-11-101-3/+28
| | | | svn path=/trunk/netsurf/; revision=13141
* Allow setting a default folder in the tree for hotlist entries to go into. ↵Chris Young2011-11-101-0/+52
| | | | | | | | | Frontends will need to be updated to use hotlist_set_default_folder() if they want to use this functionality. svn path=/trunk/netsurf/; revision=13139
* Port more internals to nsurl. Front ends may need updating.Michael Drake2011-10-031-1/+10
| | | | svn path=/trunk/netsurf/; revision=12926
* Fix treeview deselection redraw issue.Michael Drake2011-08-241-5/+6
| | | | svn path=/trunk/netsurf/; revision=12662
* Revert accidental changeChris Young2011-07-281-1/+1
| | | | svn path=/trunk/netsurf/; revision=12631
* Fix memory leakChris Young2011-07-281-1/+2
| | | | svn path=/trunk/netsurf/; revision=12630
* Fix GCC 4.6 warnings in coreJohn Mark Bell2011-07-261-2/+1
| | | | svn path=/trunk/netsurf/; revision=12629
* When launching multiple URLs from a treeview, allow to open one window with ↵Chris Young2011-07-021-5/+15
| | | | | | | | multiple tabs instead of one window per URL. Make compatible frontends do this by default. svn path=/trunk/netsurf/; revision=12552
* Remove plotter table global. Pass a redraw context around redraw functions. ↵Michael Drake2011-06-301-39/+52
| | | | | | Knockout could be handled better. Note: untested on most front ends. svn path=/trunk/netsurf/; revision=12543
* Unify content_redraw params in content_redraw_data struct. Core and RISC OS ↵Michael Drake2011-06-281-3/+14
| | | | | | content handlers updated. svn path=/trunk/netsurf/; revision=12529
* Disable extra logging. Here treeview init is down to ~5 seconds from ~20.Chris Young2011-06-041-1/+1
| | | | | | | Still more room for improvement, as adding nodes appears to recalculate the widths of all the parent nodes even though (the text and icon of) those haven't changed. svn path=/trunk/netsurf/; revision=12463
* Rudimentary text width caching to speed up many duplicate "Today", ↵Chris Young2011-06-041-4/+16
| | | | | | "Yesterday" calcs svn path=/trunk/netsurf/; revision=12461
* Remove at least one instance of unnecessary recalculationChris Young2011-06-041-13/+19
| | | | svn path=/trunk/netsurf/; revision=12460
* Extra logging to track the source of node size calculationsChris Young2011-06-041-4/+21
| | | | | | A couple of minor changes to prevent unnecessary recalculation svn path=/trunk/netsurf/; revision=12459
* consolidate content redraw Vincent Sanders2011-05-081-1/+1
| | | | | | more cleanups ready for image content refactor svn path=/trunk/netsurf/; revision=12317
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-1/+2
| | | | svn path=/trunk/netsurf/; revision=12283
* Pass clip rect to clip plotters as struct. Simplify clip rect handling in ↵Michael Drake2011-02-141-14/+15
| | | | | | debug window code. Pass clip rect to select menu as struct. svn path=/trunk/netsurf/; revision=11683
* Pass clip rect to textarea redraw as struct rect.Michael Drake2011-02-141-2/+1
| | | | svn path=/trunk/netsurf/; revision=11681
* Pass clip rect as struct through content_redraw api. Update the front ends ↵Michael Drake2011-02-131-1/+1
| | | | | | to use this. Note only RO build tested. svn path=/trunk/netsurf/; revision=11670
* Move stuct rect out of box.h and tree.c.Michael Drake2011-02-111-5/+0
| | | | svn path=/trunk/netsurf/; revision=11647
* Make the tree icon dir a non-optionDaniel Silverstone2011-01-201-68/+75
| | | | svn path=/trunk/netsurf/; revision=11422
* Fix empty tree rendering.Michael Drake2010-12-291-12/+13
| | | | svn path=/trunk/netsurf/; revision=11135
* Use colour options for treeview rendering.Michael Drake2010-12-211-13/+48
| | | | svn path=/trunk/netsurf/; revision=11118
* Enable knockout for tree redraw.Michael Drake2010-12-191-0/+9
| | | | svn path=/trunk/netsurf/; revision=11099
* Allow tree drag status to reflect drags within textareas.Steve Fryatt2010-12-191-0/+2
| | | | svn path=/trunk/netsurf/; revision=11097
* Draw tree background when there are no nodes.Michael Drake2010-12-181-4/+4
| | | | svn path=/trunk/netsurf/; revision=11092
* Simplify text plot position calc.Michael Drake2010-12-171-3/+1
| | | | svn path=/trunk/netsurf/; revision=11088
* Base treeview line height on text height, unless that's too small for the ↵Michael Drake2010-12-171-5/+14
| | | | | | icon to fit. svn path=/trunk/netsurf/; revision=11087
* When a hotlist entry edit ends by cancelling, rather than confirming the ↵Michael Drake2010-12-171-1/+2
| | | | | | change, end the whole edit and don't pass onto next element for edit. svn path=/trunk/netsurf/; revision=11085
* Improve double click handling.Michael Drake2010-12-151-6/+10
| | | | svn path=/trunk/netsurf/; revision=11068
* Don't give up on a mouse action because BROWSER_MOUSE_PRESS_{1|2} is set. ↵Michael Drake2010-12-151-9/+11
| | | | | | The RISC OS front end sets them for action-on-button-press (rather than release) behaviour. svn path=/trunk/netsurf/; revision=11065
* Possible fix for issue reported by Chris Young.Michael Drake2010-12-151-1/+5
| | | | svn path=/trunk/netsurf/; revision=11062
* Much faster redraw of treeviews.Michael Drake2010-12-151-8/+19
| | | | svn path=/trunk/netsurf/; revision=11058
* Further tidy up of node redraw.Michael Drake2010-12-151-20/+24
| | | | svn path=/trunk/netsurf/; revision=11057
* Pass clip rectangle around tree redraw. Update clipping area with respect ↵Michael Drake2010-12-151-104/+163
| | | | | | to what's being plotted. Simplify tree redraw and add more comments. svn path=/trunk/netsurf/; revision=11056
* Set text position with respect to TREE_LINE_HEIGHT.Michael Drake2010-12-121-6/+16
| | | | svn path=/trunk/netsurf/; revision=11043
* Set expansion toggle position with respect to TREE_LINE_HEIGHT.Michael Drake2010-12-121-2/+2
| | | | svn path=/trunk/netsurf/; revision=11042
* Set icon position with respect to TREE_LINE_HEIGHT.Michael Drake2010-12-121-9/+9
| | | | svn path=/trunk/netsurf/; revision=11041
* Remove redundant line plots, from tree_draw_node() and add comments.Michael Drake2010-12-121-12/+14
| | | | svn path=/trunk/netsurf/; revision=11040