|
|
Home » Developing U++ » UppHub » TabBar: ordering of tabs by their Value (title)
Re: TabBar: ordering of tabs by their Value (title) [message #27088 is a reply to message #27040] |
Fri, 25 June 2010 11:50   |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
I have incorporated you changes, though I have changed the implementation and interface. that's partly because I'd implemented the sorting so badly to begin with I thought a rewrite was needed.
These functions are now available:
TabBar& SortTabs(bool b = true);
TabBar& SortTabsOnce();
TabBar& SortTabsOnce(TabSort &sort);
TabBar& SortTabs(TabSort &sort);
TabBar& SortTabValues(ValueOrder &sort);
TabBar& SortTabValuesOnce(ValueOrder &sort);
TabBar& SortTabKeys(ValueOrder &sort);
TabBar& SortTabKeysOnce(ValueOrder &sort);
TabBar& SortGroups(bool b = true);
TabBar& SortGroups(TabSort &sort);
TabBar& SortStacks(bool b = true);
TabBar& SortStacks(TabSort &sort);
TabBar& SortStacks(ValueOrder &sort);
bool IsValueSort() const { return tabsort; }
bool IsGroupSort() const { return groupsort; }
bool IsStackSort() const { return stacksort; }
I also finally got around to adding the ability to change the goup separators, so this function is now added:
TabBar &SetGroupSeparators(Value horz, Value vert); (the Values can be anything you would pass to ChPaint)
I have also removed TabBarCtrl (I assume it was you that committed it?). I'm open to adding something like it to the package but that version lacked polish and did not match the coding style (it used camelCase among other things).
Thanks for your additions, I'll look at the Docking submission when I get time.
[Updated on: Fri, 25 June 2010 11:51] Report message to a moderator
|
|
|
 |
|
TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
By: mrjt on Fri, 25 June 2010 11:50
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
By: mrjt on Fri, 25 June 2010 12:54
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
By: mrjt on Fri, 25 June 2010 14:44
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
By: mrjt on Fri, 25 June 2010 17:57
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
By: mrjt on Sun, 27 June 2010 13:37
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
By: mrjt on Mon, 28 June 2010 16:49
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
By: mrjt on Tue, 29 June 2010 18:39
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
By: mrjt on Thu, 01 July 2010 14:43
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Behaviour
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
By: mrjt on Wed, 07 July 2010 11:31
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
By: mrjt on Thu, 15 July 2010 10:33
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Re: TabBar: ordering of tabs by their Value (title)
|
 |
|
Docking: removed special sorter
|
 |
|
Re: Docking: removed special sorter
By: mrjt on Wed, 21 July 2010 18:41
|
 |
|
Re: Docking: removed special sorter
|
 |
|
Re: Docking: removed special sorter
|
 |
|
Re: Docking: removed special sorter
By: mrjt on Thu, 22 July 2010 10:08
|
 |
|
Re: Docking: removed special sorter
|
 |
|
Re: Docking: removed special sorter
By: mrjt on Thu, 22 July 2010 10:37
|
 |
|
Re: Docking: removed special sorter
|
 |
|
Re: Docking: removed special sorter
By: mrjt on Fri, 23 July 2010 14:02
|
 |
|
Re: Docking: removed special sorter
|
 |
|
Re: Docking: removed special sorter
|
 |
|
Re: Docking: removed special sorter
|
 |
|
Re: Docking: removed special sorter
|
 |
|
Re: Docking: removed special sorter
By: mrjt on Wed, 11 August 2010 14:04
|
 |
|
Re: Docking: removed special sorter
By: mrjt on Mon, 06 September 2010 12:49
|
 |
|
Re: Docking: removed special sorter
By: kohait00 on Mon, 06 September 2010 12:58
|
Goto Forum:
Current Time: Tue Aug 26 22:10:57 CEST 2025
Total time taken to generate the page: 0.06200 seconds
|
|
|