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 » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Showing bitmaps or Icons
Re: Showing bitmaps or Icons [message #1971 is a reply to message #117] Wed, 29 March 2006 03:26 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
gprentice wrote on Sat, 26 November 2005 07:55


e.g. suppose I want a customised checkbox - I create two bitmaps (checked and unchecked) that I want to switch when the image is clicked.

Graeme


BTW, you can use:
ButtonOption opt;
...
	opt.SetImage( BmpEncoder::NewBmp()->LoadImageFile("OffIMG.bmp"), 
	PngEncoder::New()->LoadImageFile("OnIMG.png") );
//you can choose image formats...
//don't forget to adjust sizes accordingly...

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Image with Layout (iml) painted red, why?
Next Topic: When I added "Draw" package to my project (605dev1), I get "plugin\z" added...
Goto Forum:
  


Current Time: Fri May 17 03:11:00 CEST 2024

Total time taken to generate the page: 0.02161 seconds