Home » Community » Newbie corner » Usage of images in different .h and .cpp files
Re: Usage of images in different .h and .cpp files [message #27602 is a reply to message #27600] |
Sun, 25 July 2010 15:23   |
|
281264 wrote on Sun, 25 July 2010 13:52 | Hi,
I have the following question: how to use images contained in a single .iml file in different classes, each one defined by its corresponding .h and .cpp file?
Cheers,
Javier
|
Hi Javier,
Just put#define IMAGECLASS MyImages
#define IMAGEFILE images.iml
#include <Draw/iml_header.h> in your headers and #define IMAGECLASS MyImages
#define IMAGEFILE images.iml
#include <Draw/iml_source.h> in one of your cpp files.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sun Jun 22 19:55:41 CEST 2025
Total time taken to generate the page: 0.03806 seconds
|