29 Commits

Author SHA1 Message Date
Mark de Wever
043b71a34a Add C++11 override markers.
Adds the markers for gui2::twidget::create_walker.
2013-04-01 12:24:42 +02:00
Mark de Wever
a31f53d5cd Add C++11 override markers.
Adds the markers for gui2::twidget::disable_click_dismiss.
2013-04-01 10:07:54 +02:00
Mark de Wever
b76f70be77 Add C++11 override markers.
Adds the markers for both overloads of
gui2::twidget::impl_draw_children.
2013-03-31 21:32:57 +02:00
Mark de Wever
b5a25c685e Add C++11 override markers.
Adds the markers for gui2::twidget::find, for both the const and
non-const function
2013-03-31 15:03:39 +02:00
Mark de Wever
350dfd9799 Add C++11 override markers.
Adds the markers for gui2::twidget::find_at, for both the const and
non-const function.
2013-03-31 12:59:53 +02:00
Mark de Wever
b9dc9e7182 Add C++11 override markers.
Adds the markers for gui2::twidget::place.
2013-03-31 10:40:01 +02:00
Mark de Wever
ac53b13c84 Add C++11 override markers. 2013-03-29 22:02:55 +01:00
Eric S. Raymond
043c4f9fd3 Remove $Id$ cookies. 2013-03-26 21:41:37 -04:00
Mark de Wever
b097a37145 Add C++11 override markers. 2013-03-24 09:05:08 +00:00
Mark de Wever
dcc6035b9f Code cleanup of the widget's code.
Improved function names, descriptions and ordering of the functions.
Also added override markers for C++11.
2013-03-10 15:25:50 +00:00
Mark de Wever
43b71f2ff0 New year copyright update. 2013-01-01 09:22:03 +00:00
Steven Panek
c2cb357a48 'favour' -> 'favor', 'colour' -> 'color', 'behaviour' -> 'behavior'...
...in the source code.
2012-09-23 22:16:02 +00:00
Mark de Wever
8f945cf235 Add a new offsetted drawing method.
The code is mainly copy pasted from the current drawing code, but adds
some helpers as well.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-04-28 19:16:10 +00:00
Ignacio R. Morelle
6ca69b2df5 New year copyright update 2012-01-07 02:35:17 +00:00
Mark de Wever
797142008b Add new gui2 iterator framework. 2011-04-10 16:48:33 +00:00
Mark de Wever
ecbabea838 New year copyright update. 2011-01-01 15:57:50 +00:00
Guillaume Melquiond
eeb047de55 Fixed file headers so that they match the content of the COPYING file. 2010-09-01 21:12:38 +00:00
Mark de Wever
77bcc880e6 Inherit a function using the proper signature.
The problem was spotted by YogiHH using MSVC.
2010-03-07 18:43:20 +00:00
Mark de Wever
88ecc025a3 Fix assertion failures in the tree view.
When opening or closing a node the sizes are now calculated better as
before and no longer cause assertions failures due to out of size.

Note the code still feels a bit hacky, but it seems to work properly so
rather commit now as rewriting it. The latter is scheduled to do later.
2010-03-06 20:28:54 +00:00
Mark de Wever
40e17c64d0 Update doxygen comment. 2010-03-06 13:39:05 +00:00
Mark de Wever
04c01e867e Rewrote the tree view node -> tree view link. 2010-03-06 13:38:52 +00:00
Mark de Wever
9c41b1ec94 Rename parent to parent_node.
This to avoid confusion with the usage of parent in the rest of the gui
code, there the parent is the owning parent widget.
2010-03-06 13:38:48 +00:00
Mark de Wever
b61f8968dc Make the constructor and a typedef public.
They should have public in the first place, but the friendship with
ttree_node hid the problem.
2010-03-06 13:38:45 +00:00
Mark de Wever
b356ade8ea Remove a pointer in the parent upon destruction. 2010-03-06 13:38:41 +00:00
Mark de Wever
794387175f Rename ttree_view_node::indention_level(). 2010-02-20 18:03:26 +00:00
Mark de Wever
6d62ec1465 Made a separate function to size the children.
Rewrote the entire sizing as well to use this new way of sizing.
2010-02-20 18:03:22 +00:00
Mark de Wever
6d7c8c315b Rename twidget::set_size to place.
This avoids the overload on set_size, avoid hiding it in sub classes.
2010-02-20 18:03:19 +00:00
Mark de Wever
49ff61962a Various changes to the tree view node.
The main reason for the change is to better handle resize requests,
which the previous commits allowed. The code still needs some more love
and polishing later on.
2010-02-14 19:36:36 +00:00
Mark de Wever
0e7b3d04bf Move ttree_view::tnode to its own file. 2010-02-08 19:26:09 +00:00