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 #52035 is a reply to message #52032] Tue, 09 July 2019 08:23 Go to previous message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
Hi Lestroso

In Reference/Iml there is a simple example of IMAGEFILE to handle images embedded inside the .exe.
In addition, the Image Tutorial explains a bit about the image designer included in TheIDE. You can edit images or include your own.

After that, you can include this at the beginning:

#define IMAGECLASS MyImages
#define IMAGEFILE  <HelloWorldImage/ImageFile.iml> // ImageFile is the name of your .iml file filled with images
#include <Draw/iml.h>

You can handle the embedded images as any Image type.

Please try this demo, read the help, and try to include this in HelloWorldImage.
If it does not work, I will include it for you, but please try it first on your own.


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: Fri Apr 26 05:37:47 CEST 2024

Total time taken to generate the page: 0.05095 seconds