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 » Community » Newbie corner » Image Ctrl How To Add It??? (How to add an Image To My Project In Layer Design? Is It Possible?)
Re: Image Ctrl How To Add It??? [message #52025 is a reply to message #52024] Sun, 07 July 2019 16:48 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
Hi Lestroso

With StaticImage, you can use function Set(), in two versions:
- bool StaticImage::Set(String fileName): // You open a bitmap filename
- bool StaticImage::Set(Image image); // You open an Image

You have to do that in the code, for example, in a callback function after pushing a button.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Invalid memory access on ImageDraw::Init (X11)
Next Topic: How i can play a sound?? wav,mp3,ogg,aiff????
Goto Forum:
  


Current Time: Wed Apr 24 00:33:39 CEST 2024

Total time taken to generate the page: 0.03688 seconds