![]() |
|
#1
|
|||
|
|||
Drawing ImagesHi guys!
Well, I`m new with programming in FLTK. I choose FLTK2 to begin, because I had problems to implement former versions in my IDE (VC++), but that`s not the point. My problem is, that I don`t know how to draw images, whatever .gif, .jpg, .png or .bmp! Here is my Code: CPP / C++ / C Code:
The result is, that I can see a gray rectangle on the position where my image should be ... I tried to use gif-Images, JPG-Images, PNG-Images and BMP-Images, it`s allways the same ... THX in advance for response! And pls excuse my bad English, I`m a student from Germany, so it`s my bad school-english *g* |
|
#2
|
||||
|
||||
Re: drawing ImagesSorry Guys, I'll answer in German cause I'm a native speaker, too.
Hey, ich hatte das gleiche Problem auch mal und mein Fehler war einfach nur, dass die Pfadangaben nur relativ waren, d.h. nur wenn ich das Programm aus dem Verzeichnis aufgerufen habe, in dem auch die Bilder lagen (also nicht über die IDE) hab ich was gesehen. Versuch's doch einfach mal mit absoluten (also kompletten) Pfadangeben. |
|
#3
|
|||
|
|||
Re: drawing Imagesdanke, das hat wirklich geholfen!
He could help me, my problem is solved! |
Recent GIDBlog
Toyota - 2008 September Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question regarding the use of images | conus | AdSense Forum | 3 | 28-Dec-2006 07:38 |
| Downloading images | WaltP | Web Design Forum | 3 | 30-Jul-2005 19:28 |
| How to save a drawing to the file | amgturk | MS Visual C++ / MFC Forum | 2 | 25-Jul-2005 00:29 |
| Back to the drawing board... | spudtheimpaler | C Programming Language | 9 | 15-Mar-2004 10:12 |
| Why are my images distorted? | rhino1616 | Graphics Forum | 0 | 27-Jun-2003 09:30 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The