summaryrefslogtreecommitdiff
path: root/desktop/tree.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* More "NetSurfy" colours. Note treeview restyling is still in progress; this ↵Michael Drake2010-12-121-3/+3
| | | | | | will change. svn path=/trunk/netsurf/; revision=11039
* Create some tree plot styles and use them.Michael Drake2010-12-121-9/+22
| | | | svn path=/trunk/netsurf/; revision=11038
* Remove pointless rectangle fill under text.Michael Drake2010-12-121-3/+0
| | | | svn path=/trunk/netsurf/; revision=11037
* Rename usages of "furniture" which applied to expansion toggle boxes to ↵Michael Drake2010-12-121-20/+25
| | | | | | "expansion_toggle". Now "furniture" refers exclusively to all tree furniture. Start commenting things. svn path=/trunk/netsurf/; revision=11036
* Rename tree_draw_node_expansion() to tree_draw_node_expansion_toggle(). ↵Michael Drake2010-12-121-27/+31
| | | | | | Pedantic wrap/indentation changes in tree_draw_node. svn path=/trunk/netsurf/; revision=11035
* Fix TREE_ICON_SIZE to match size of actual icons. Fix clip rectangle for ↵Michael Drake2010-12-121-3/+3
| | | | | | icon redraw. svn path=/trunk/netsurf/; revision=11034
* Use TREE_LINE_HEIGHT define instead of magic 20 everywhere.Michael Drake2010-12-121-12/+10
| | | | svn path=/trunk/netsurf/; revision=11033
* Clearer font styles.Michael Drake2010-12-121-6/+6
| | | | svn path=/trunk/netsurf/; revision=11032
* If a drag is in progress that the tree can't handle, it is a ↵Chris Young2010-10-301-0/+2
| | | | | | | | TREE_UNKNOWN_DRAG not a TREE_NO_DRAG, as the platform code might be able to deal with it. svn path=/trunk/netsurf/; revision=10920
* Only set TREE_MOVE_DRAG is the tree is TREE_MOVABLEChris Young2010-10-301-1/+2
| | | | svn path=/trunk/netsurf/; revision=10919
* Allow getting the tree's drag property. This ensures we can see whether the ↵Chris Young2010-10-291-7/+12
| | | | | | | | current drag is something we might need to display an icon for. svn path=/trunk/netsurf/; revision=10917
* Make CR also stop and save tree editsChris Young2010-10-171-0/+1
| | | | svn path=/trunk/netsurf/; revision=10892
* - Request correct redraw area when changing a node's size in ↵Steve Fryatt2010-10-101-29/+29
| | | | | | | | tree_handle_node_changed(). - Update parameter documentation to match function definitions. svn path=/trunk/netsurf/; revision=10876
* Merge treeview-redux to trunkJohn Mark Bell2010-10-051-904/+2186
| | | | svn path=/trunk/netsurf/; revision=10865
* Fix up confusing formattingVincent Sanders2010-06-281-2/+2
| | | | svn path=/trunk/netsurf/; revision=10586
* Lose redundant variable.John Mark Bell2009-05-281-3/+2
| | | | | | Ensure name_t is used in tree_delete_node_internal() svn path=/trunk/netsurf/; revision=7609
* - Compiler warning squashJohn Tytgat2008-07-261-4/+4
| | | | | | | - Changed a lineending \n\r -> \n for a couple of files. - More code style conformance. svn path=/trunk/netsurf/; revision=4762
* Bug fixes by Franz Korntner.James Bursa2007-10-281-1/+2
| | | | svn path=/trunk/netsurf/; revision=3636
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-6/+6
| | | | | | | | | | | | | | in includes NetSurf includes are now done with ""s and other system includes with <>s as C intended. The scandeps tool has been updated to only look for ""ed includes, and to verify that the files exist in the tree before adding them to the dependency lines. The depend rule has therefore been augmented to make sure the autogenerated files are built before it is run. This is untested under self-hosted RISC OS builds. All else tested and works. svn path=/trunk/netsurf/; revision=3307
* Update project URL.Michael Drake2006-11-271-2/+2
| | | | svn path=/trunk/netsurf/; revision=3073
* Allow the user to delete cookies.Richard Wilson2006-07-161-37/+54
| | | | svn path=/trunk/netsurf/; revision=2770
* Slightly improve positioning of lists.Richard Wilson2006-07-161-1/+1
| | | | svn path=/trunk/netsurf/; revision=2759
* Allow the viewing of the entire SSL certificate chain.Richard Wilson2006-07-161-10/+30
| | | | svn path=/trunk/netsurf/; revision=2755
* Add relevent extensions to allow treeviews to be used as an embedded list ↵Richard Wilson2006-07-151-50/+46
| | | | | | component. svn path=/trunk/netsurf/; revision=2753
* Display session cookies' expiry correctlyJohn Mark Bell2006-07-151-10/+13
| | | | | | | Fix urldb debug build Fix GTK build's cookie_update API svn path=/trunk/netsurf/; revision=2752
* Add basic cookie viewer, make trees use textarea components for UTF8 ↵Richard Wilson2006-07-131-6/+139
| | | | | | editing, trim headers, fix tree redraw issues. svn path=/trunk/netsurf/; revision=2739