Home » Developing U++ » UppHub » TabBar Major Revision
Re: TabBar Major Revision [message #22062 is a reply to message #22009] |
Tue, 16 June 2009 10:57   |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
piotr5 wrote on Sun, 14 June 2009 19:15 |
mrjt wrote on Fri, 05 June 2009 11:19 |
Mindtraveller | Is there a chance to include these stacking file tabs into next SVN version of TheIDE?
|
If you want to try it out now, I've just added a QuickTabs wrapper package to the bazaar. It's very easy to add:
1- Get latest SVN (1280+ is needed)
2- Replace uppsrc/ide/QuickTabs with bazaar/QuickTabs (copying over it is ok)
3- Before compiling TheIde add the bazaar assembly to the uppsrc assembly (right click uppsrc->Edit assembly, add path to bazaar in top edit box)
4- Compile TheIde
|
I tried it now, and after some fiddling it compiled. the major difficulty was to realize that I need to change in ide.h the include-statement for QuickTabs: instead of ide/QuickTabs/QuickTabs.h, it should be without the ide/ -- QuickTabs/QuickTabs.h alone.
for completeness: the error with missing "<<=" I fixed by removing the "=", i.e. I used the "<<" operator. "OnSettingsMenu" I replaced with "SettingsMenu" and "THISBACK1" in the error-yielding lines I replaced with "THISBACK" and the erronous "tn" I changed to "fn". I also remember that I had to remove some "&" from the parameters of a function-declaration taking wstrings as argument because wstring is pickable and somewhere the function was fed with temporatry wstrings (but I suspect that a constant wstring& would have solved the problem too). ".ToWString" I have not seen among the errors. my google-svn version is 1303. there's also an error in the ide itself: SerializeTabs is undefined. I'm not sure what to do with it. for now I commented out these commands and reduced the serialization-version to 8. I hope someone will port the Tab-Serialization to TabBars (as opposed to FileTabs or QuickTabs)...
|
Oops, I forgot to mention changing the package path. Sorry.
The errors were because I was of course testing the version in the ide directory and forgot to copy the changes back before committing. I've now rectified this.
Still, glad you got it working.
The problem with TabBar serialization is that now Tabs have a separate Image/icon property and there is now way to recreate this with generic serialization alone. It's not difficult to add serialization that ignores this property, but I wanted to the think about it first so I didn't include it with this release.
[Updated on: Tue, 16 June 2009 11:03] Report message to a moderator
|
|
|
 |
|
TabBar Major Revision
By: mrjt on Thu, 04 June 2009 13:28
|
 |
|
Re: TabBar Major Revision
By: koldo on Thu, 04 June 2009 15:47
|
 |
|
Re: TabBar Major Revision
By: mrjt on Thu, 04 June 2009 17:15
|
 |
|
Re: TabBar Major Revision
|
 |
|
Re: TabBar Major Revision
By: unodgs on Thu, 04 June 2009 21:16
|
 |
|
Re: TabBar Major Revision
By: koldo on Thu, 04 June 2009 23:26
|
 |
|
Re: TabBar Major Revision
By: mrjt on Fri, 05 June 2009 11:11
|
 |
|
Re: TabBar Major Revision
By: mrjt on Fri, 05 June 2009 11:19
|
 |
|
Re: TabBar Major Revision
|
 |
|
Re: TabBar Major Revision
By: koldo on Fri, 05 June 2009 22:34
|
 |
|
Re: TabBar Major Revision
|
 |
|
Re: TabBar Major Revision
|
 |
|
Re: TabBar Major Revision
By: piotr5 on Sun, 14 June 2009 20:15
|
 |
|
Re: TabBar Major Revision
By: mrjt on Tue, 16 June 2009 10:57
|
 |
|
Re: TabBar Major Revision
By: piotr5 on Wed, 17 June 2009 16:33
|
 |
|
Re: TabBar Major Revision
By: mrjt on Wed, 17 June 2009 17:02
|
 |
|
Re: TabBar Major Revision
By: piotr5 on Wed, 17 June 2009 18:31
|
 |
|
Re: TabBar Major Revision
|
 |
|
Re: TabBar Major Revision
By: mrjt on Thu, 18 June 2009 10:57
|
 |
|
Re: TabBar Major Revision
|
 |
|
Re: TabBar Major Revision
By: unodgs on Sat, 26 December 2009 10:29
|
Goto Forum:
Current Time: Fri May 02 12:16:16 CEST 2025
Total time taken to generate the page: 0.01222 seconds
|