GUI2: dropped a remaining t-prefix from a type
This commit is contained in:
parent
b0d18afd2f
commit
167f4a1a1e
4 changed files with 7 additions and 7 deletions
|
@ -24,13 +24,13 @@
|
|||
namespace gui2
|
||||
{
|
||||
|
||||
placer_base* placer_base::build(const tgrow_direction grow_direction,
|
||||
placer_base* placer_base::build(const grow_direction grow_direction,
|
||||
const unsigned parallel_items)
|
||||
{
|
||||
switch(grow_direction.v) {
|
||||
case tgrow_direction::horizontal:
|
||||
case grow_direction::horizontal:
|
||||
return new implementation::placer_horizontal_list(parallel_items);
|
||||
case tgrow_direction::vertical:
|
||||
case grow_direction::vertical:
|
||||
return new implementation::placer_vertical_list(parallel_items);
|
||||
};
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ public:
|
|||
/***** ***** Types. ***** *****/
|
||||
|
||||
/** The direction the placer should grow towards. */
|
||||
MAKE_ENUM(tgrow_direction,
|
||||
MAKE_ENUM(grow_direction,
|
||||
(horizontal, "horizontal")
|
||||
(vertical, "vertical")
|
||||
)
|
||||
|
@ -75,7 +75,7 @@ public:
|
|||
* only horizontally or vertically placed items
|
||||
* the value should be 1.
|
||||
*/
|
||||
static placer_base* build(const tgrow_direction grow_direction,
|
||||
static placer_base* build(const grow_direction grow_direction,
|
||||
const unsigned parallel_items);
|
||||
|
||||
virtual ~placer_base();
|
||||
|
|
|
@ -422,7 +422,7 @@ namespace implementation
|
|||
builder_pane::builder_pane(const config& cfg)
|
||||
: builder_widget(cfg)
|
||||
, grow_direction(
|
||||
lexical_cast<placer_base::tgrow_direction>(cfg["grow_direction"]))
|
||||
lexical_cast<placer_base::grow_direction>(cfg["grow_direction"]))
|
||||
, parallel_items(cfg["parallel_items"])
|
||||
, item_definition(new builder_grid(cfg.child("item_definition", "[pane]")))
|
||||
{
|
||||
|
|
|
@ -206,7 +206,7 @@ struct builder_pane : public builder_widget
|
|||
|
||||
widget* build(const replacements_map& replacements) const;
|
||||
|
||||
placer_base::tgrow_direction grow_direction;
|
||||
placer_base::grow_direction grow_direction;
|
||||
|
||||
unsigned parallel_items;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue