Commit Graph

9649 Commits

Author SHA1 Message Date
Chris Young d6e975ce50 Merge branch 'chris/gadtools-53-6' 2013-08-18 15:22:31 +01:00
Chris Young 1238afdfc8 Remove unused 2013-08-18 15:20:39 +01:00
Chris Young 4a70c21215 Construct the menu in a new function, which also does basic layouting of any image menus. 2013-08-18 15:15:12 +01:00
Michael Drake fd961c6dfa Ensure ctrl modifier is handled, by dealing with it before no-modifiers case. 2013-08-18 13:22:57 +01:00
Michael Drake 5aa5eb9d6f Ensure nodes within contracted nodes are unselected. 2013-08-17 23:52:48 +01:00
Michael Drake 5f32ac1858 Fix clang warning. 2013-08-17 20:20:49 +01:00
Michael Drake 4ab7ad6bd2 Implement node moving drags. 2013-08-17 19:39:17 +01:00
Michael Drake e5a4c3d4c9 Find the top y value of selections for indicator pos. 2013-08-17 14:37:24 +01:00
Michael Drake d1cd950327 Improve keyboard nav slightly. 2013-08-17 13:40:05 +01:00
Michael Drake e1468a78df Fix keyboard nav redraw when treeview height decreases as a result of keypress. Reduce some variable name lengths. 2013-08-17 13:27:38 +01:00
Michael Drake e17e56b0cc Move drops over selection target top of selected run. 2013-08-17 13:22:40 +01:00
Michael Drake 59ea55ef3d Propagate selection to visible descendant nodes when a move drag is started with folder selected. 2013-08-17 12:51:08 +01:00
Michael Drake dee0cb0380 Optimise drop indicator redraw area. 2013-08-17 11:48:16 +01:00
Michael Drake d8bf6c2216 Remove unused structure member. 2013-08-16 23:13:25 +01:00
Michael Drake 29b6185ab1 Do indicator redraw after everything else is done, to simplify things. 2013-08-16 23:08:57 +01:00
Michael Drake b699169d0b Group the move details, for clarity. 2013-08-16 21:40:45 +01:00
Michael Drake 304523553c Start optimising drop indicator redraw. 2013-08-16 20:34:41 +01:00
Michael Drake a9cad3cfa8 Begin move handling. Currently only moves the drop target indicator during drags. Nothing actually gets moved. 2013-08-16 20:06:08 +01:00
Michael Drake 7169b2fb01 Make treeview test parasite convert move drag enum type. 2013-08-16 20:03:18 +01:00
Michael Drake 15c1ad7eea Add move drag type. 2013-08-16 20:02:49 +01:00
Michael Drake 7bd57563e1 Set appropriate treeview flags. 2013-08-16 20:01:58 +01:00
Michael Drake 5f4c624c5b Slight refactor of drag end handling, for future handling of more types of drag. 2013-08-16 12:23:37 +01:00
Michael Drake 2dc8b64153 Add comment. 2013-08-16 11:17:45 +01:00
Michael Drake 285fe734bc Rename "section" to "part". 2013-08-16 11:15:16 +01:00
Michael Drake c3ca5ab979 Fix treeview code's inconsistant application of the plot origin. (Fixes various redraw glitches.) 2013-08-16 10:05:21 +01:00
Michael Drake 8a87058dc2 Remove pointless clipping. Move some calculations out of function call params to make them more readable. 2013-08-16 09:49:59 +01:00
Michael Drake c716a53bed Make the no_font_blending toggle. 2013-08-16 09:28:56 +01:00
Michael Drake 2b0a98bd47 Avoid background blending overhead for treeview text. 2013-08-16 09:15:50 +01:00
Michael Drake 9d624ce17f Inform front end when drag starts below nodes too. 2013-08-16 08:25:26 +01:00
Michael Drake 2ba2fcc7b6 Add selection to enum. 2013-08-16 08:25:26 +01:00
Michael Drake 2a3ff41e14 Flag a TODO. 2013-08-16 08:25:26 +01:00
Michael Drake 46c74777a2 Pass mouse coords to treeview during drag. Note, we now get a warning when mouse leaves window during drag. 2013-08-16 08:25:26 +01:00
Michael Drake 2c695bc2fa Use abstracted folder creation. 2013-08-16 08:25:26 +01:00
Michael Drake ff9155273e Update messages for default hotlist entries. 2013-08-16 08:25:25 +01:00
Michael Drake 32ae7b5117 Add generator for default hotlist. 2013-08-16 08:25:25 +01:00
Michael Drake e13e72357d Set built=false after destruction. 2013-08-16 08:25:25 +01:00
Michael Drake 82f5cd33a0 Implement simplisitic hotlist_add function. Need to improve where new entries are placed. (See TODO comment.) 2013-08-16 08:25:25 +01:00
Michael Drake 952ab7b6e4 Move urldb data acquisition so it doesn't need to be duplicated when there are other entry points. 2013-08-16 08:25:25 +01:00
Michael Drake ec7e1f71c4 Tidy some comments. 2013-08-16 08:25:25 +01:00
Michael Drake da557af967 Slight simplification. 2013-08-16 08:25:25 +01:00
Michael Drake 58315b9673 Minor tweaking. 2013-08-16 08:25:25 +01:00
Michael Drake 2dc99f9ae7 Allow the other front ends to use the hotlist test too. 2013-08-16 08:25:25 +01:00
Michael Drake 8b83456c02 Beginnings of new hotlist module, implemented with new treeview.
Currently it can only open, display and launch entries in an existing hotlist file.

TODO:
  - Generate defualt hotlist when file not found.
  - Add hotlist saving.
  - Allow adding to hotlist.
  - Allow hotlist editing.
  - Allow hotlist nodes to be moved by dragging.
  - Allow hotlist visit data to be updated.
2013-08-16 08:25:25 +01:00
Michael Drake ee7df2761f Make dom node children iterator return nserror. 2013-08-16 08:25:24 +01:00
Michael Drake 473738083b Fix several comments about return type. 2013-08-16 08:25:24 +01:00
Michael Drake 8c11cfcd9d Add treeview folder label for hotlist. 2013-08-16 08:25:24 +01:00
Chris Young acdf478d3f Sub-menu arrows 2013-08-16 00:07:20 +01:00
Chris Young 33b8644ec2 Another attempt at creating image menus 2013-08-15 20:10:55 +01:00
Chris Young b11b18f258 Correct path 2013-08-15 18:21:12 +01:00
Chris Young fd206d98e9 Add missing icons to package 2013-08-15 18:09:05 +01:00