Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » TabBar: ordering of tabs by their Value (title)
Re: TabBar: ordering of tabs by their Value (title) [message #27174 is a reply to message #27149] Tue, 29 June 2010 17:53 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
Hi Mirek

i have spent some time using / adapting your new design, the TabBarCtrl : public TabBar is a good thing Smile

i have modified / extended some things slightly, and tried to adopt / extend the TabBarCtrlTest and the FileTabsExample.

the svn stuff is there, but basicly the current state (since your rar archive was not up in svn Smile so diff shows all your changes as well. but you will spot the stuff i did easily.

bugfix in TabBar.cpp
TabBar& TabBar::SortStacks(bool b)
{
	stacksort = b; << was staticly true


added (to my best knowledge)
TabBar& TabBar::SortGroupsOnce()
TabBar& TabBar::SortGroupsOnce(TabSort &sort)

TabBar& TabBar::SortStacksOnce()
TabBar& TabBar::SortStacksOnce(TabSort &sort)


this one was not implemented
TabBar& TabBar::SortStacks(ValueOrder &sort)


this one needs to go public, since its API functions are public as well
	struct TabSort {


and thus this one has to be public as well.
	struct Tab : Moveable<Tab> {


Docking:

made available the sorting functions from outside.
and some static function stuff, Value converts need not be dependant to intance, if they dont use anything from it...
why not having DockableCtrl::GetContainer() public?

there are 2 changes (first 2) in DockCont.spp from me, which i dont think are usable, so spare them out, they have to do with handling..


i hope this feedback helps
  • Attachment: bazaar.rar
    (Size: 243.72KB, Downloaded 323 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Doking:Does the Dock Manager work correctly?
Next Topic: HelpViewer Class
Goto Forum:
  


Current Time: Tue Jul 08 11:47:21 CEST 2025

Total time taken to generate the page: 0.03126 seconds