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++ » U++ TheIDE and Library: Releases and ChangeLogs » Improved Bar chameleon and BlueBar skin
Improved Bar chameleon and BlueBar skin [message #13173] Tue, 18 December 2007 22:09 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
...also introduces "art" uppsrc subdirectory, which now contains BlueBar package only, but should gradually be populated with skin enhancing packages.
index.php?t=getfile&id=890&private=0
  • Attachment: bluebar.PNG
    (Size: 31.19KB, Downloaded 807 times)
Re: Improved Bar chameleon and BlueBar skin [message #13182 is a reply to message #13173] Wed, 19 December 2007 15:15 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

I like the menu, but I'm confused about the bar color. Maybe it should be "more blue".
Anyway it's not the point. I wanted to ask if it's possible to write theme capture app. For example I run the app in winxp with clearlook theme I press save as upp theme and it produces files similar to BlueBar ones. I mean this app should produce chamelon c++ files. That would be realy cool and allow easily to create theme that could be staticly linked and used in win2000 for example. It should not be too hard as at runtime you have chamelon structures (ToolBar::Style eg.) aleready filled.
Re: Improved Bar chameleon and BlueBar skin [message #13189 is a reply to message #13182] Wed, 19 December 2007 18:24 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I am afraid this would be difficult. Many parts of windows themes are really painted using theming API; if nothing else, we do not have our 2 hotspots to create appropriate images.
Re: Improved Bar chameleon and BlueBar skin [message #13946 is a reply to message #13189] Sat, 02 February 2008 13:41 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
BlueBar is really nice, but I was wondering how could I implement an UninstallBlueBar method?
Re: Improved Bar chameleon and BlueBar skin [message #13947 is a reply to message #13946] Sat, 02 February 2008 14:05 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cbpporter wrote on Sat, 02 February 2008 07:41

BlueBar is really nice, but I was wondering how could I implement an UninstallBlueBar method?


Well... One possibility is just to install other scheme.

But if you would want to have ability to uninstall bluebar alone, you would need to backup styles overwritten before applying bluebar, then put them back. There are catches... but should work.

Mirek
Re: Improved Bar chameleon and BlueBar skin [message #13955 is a reply to message #13947] Sun, 03 February 2008 10:34 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
While trying to implement this, I noticed a bug: if you call InstallBlueBar a second time, it will crash (writing to adress 0).
Re: Improved Bar chameleon and BlueBar skin [message #13969 is a reply to message #13955] Mon, 04 February 2008 09:28 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks, fixed.

Mirek
Re: Improved Bar chameleon and BlueBar skin [message #13971 is a reply to message #13969] Mon, 04 February 2008 09:42 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
luzr wrote on Mon, 04 February 2008 10:28

Thanks, fixed.

Mirek

Could you please post the fix so I can integrate it with my methods?
Re: Improved Bar chameleon and BlueBar skin [message #13974 is a reply to message #13971] Mon, 04 February 2008 11:44 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
cbpporter wrote on Mon, 04 February 2008 03:42

luzr wrote on Mon, 04 February 2008 10:28

Thanks, fixed.

Mirek

Could you please post the fix so I can integrate it with my methods?



Draw/Cham.h 61

const klass::Style& klass::style() \
{ \
	static COMBINE5(klass, __, type, __, style) b, standard; \
	if(b.status == 0) { \
		ChRegisterStyle__(b.status, b.registered, COMBINE5(klass, __, type, __, style)::InitIt); \
		b.Init(); \
		b.status = 1; \
		standard = b; \
		standard.standard = b.standard = &standard; \
	} \
	return b; \
} \
Previous Topic: plugin/tif now supports SeekPage for multiimage tiffs
Next Topic: Sqlite updated from 3.4.2 to 3.5.6, PCRE updated from 7.3 to 7.6
Goto Forum:
  


Current Time: Tue Apr 16 15:41:50 CEST 2024

Total time taken to generate the page: 0.01697 seconds