paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] Loading image problem.


From: Guillaume Schmid
Subject: [paragui-users] Loading image problem.
Date: 12 Jun 2002 19:03:27 +0200

Hello again.

I have a small problem, I try to load an image in a TemeWidget with
LoadImage (const char *) and all a get is a message:
WARNING [06/12/2002 18:41:23] > Unable to load
'/home/guillaume/dev/viewcam/images/Propaganda4.jpg'

of course, a stat on the file does:
 stat /home/guillaume/dev/viewcam/images/Propaganda4.jpg
  File: "/home/guillaume/dev/viewcam/images/Propaganda4.jpg"
  Size: 32050           Blocks: 64         IO Block: 4096   Regular File
Device: 307h/775d       Inode: 611116      Links: 1    
Access: (0666/-rw-rw-rw-)  Uid: ( 1000/guillaume)   Gid: (  100/  
users)
Access: Mon Jun 10 17:05:15 2002
Modify: Mon Apr 29 19:51:31 2002
Change: Wed Jun 12 18:20:22 2002

The app is linked with SDL_image (added by paragui-config -libs).

Any idea on the subject ?

Anyways, I noticed a funny thing, I had to change recently the line
 app_.LoadTheme("default");
to 
 app_.LoadTheme("/default");
in my app in order to properly load the theme and start the app. Is that
something expected (or maybe I have broken something in my code :) ?

Thank you for your attention.

Guillaume.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]