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 #126 is a reply to message #117] Sat, 26 November 2005 12:56 Go to previous messageGo to previous message
gprentice is currently offline  gprentice
Messages: 260
Registered: November 2005
Location: New Zealand
Experienced Member

Quote:

In this case using .bmp is quite ineffective, for U++. Just design your images in the ImageDes (in .iml file) and then use them (in U++, Image is simple value object - use it as it was String.... .iml will provide you a set of "function-constants" that will return your images designed in .iml).

See reference/iml




Interesting, thanks. I tried the iml example and notice some "flickering effects" in the image when the window is resized. Even with a non centered image whose position isn't changing when the window is resized, I get a little bit of flickering. Is this expected? Any ideas for how to avoid it? If I drag the window round the screen I don't get any flickering in the image.

I remember flickering was an issue with wxWidgets as discussed here -
http://wiki.wxwidgets.org//wiki.pl?action=browse&id=Flic ker-Free_Drawing&revision=18

I vaguely recall one of the solutions was to avoid erasing.

Graeme
 
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: Tue May 21 03:58:11 CEST 2024

Total time taken to generate the page: 0.01517 seconds