List Info

Thread: Adding .gif images




Adding .gif images
user name
2006-04-12 17:16:37
Hi Caterina,

At 12:39 12/04/2006, you wrote:
>I started working with Dialog Blocks but I don't see any straight way of
>adding an animated image (.gif).
>I read in the book that you can use wxImage, but I was wondering if there
>is drop-down menu in the dialog editor's toolbar buttons that implements
>this code automatically, because if I try the wxStaticBitmap, the .gif
>image is (logically) static ^^

I'm afraid DB doesn't support adding animated GIFs, but you can add
wxGIFAnimationCtrl by hand (see contrib/src/animate).

Regards,

Julian



Adding .gif images
user name
2006-04-14 09:43:34
Hi Julian,

Thanks just tried your wxGIFAnimationCtrl code but when I compile the animate.cpp I get dozens of  errors like:

  • unresolved external symbol "protected. ...."
  • unresolved external symbol "public. ...."
Though I've checked the gifdecod.h and ensured that there is no protected keyword but public instead.

Thank you.

Caterina

On 4/12/06, Julian Smart <anthemion.co.uk">juliananthemion.co.uk> wrote:
Hi Caterina,


At 12:39 12/04/2006, you wrote:
&gt;I started working with Dialog Blocks but I don't see any straight way of
>adding an animated image (.gif).
&gt;I read in the book that you can use wxImage, but I was wondering if there
>is drop-down menu in the dialog editor's toolbar buttons that implements
>this code automatically, because if I try the wxStaticBitmap, the .gif
>image is (logically) static ^^

I'm afraid DB doesn't support adding animated GIFs, but you can add
wxGIFAnimationCtrl by hand (see contrib/src/animate).

Regards,

Julian





YAHOO! GROUPS LINKS






--
gmail.com">caterina.lorentegmail.com
+353 85 731 05 51
.:I want to be a hunter again, I want to see the world alone again:.
Adding .gif images
user name
2006-04-14 13:04:13
In message
<8393c2a50604140243k37a104b8q647ce7a4df0e5b93mail.gmail.com>, Caterina
Lorente <caterina.lorentegmail.com&gt; writes
&gt;Hi Julian,
&gt;
>Thanks just tried your wxGIFAnimationCtrl code but when I compile the
>animate.cpp I get dozens of  errors like:
>;
>&nbsp;  • unresolved external symbol "protected. ...."
;  • unresolved external symbol "public. ...."
>Though I've checked the gifdecod.h and ensured that there is no protected
>keyword but public instead.
>
...
"Unresolved" is indicating that the linker cannot find any matching
definition of the symbols.&nbsp; (Presumably function names.)&nbsp; Is/are the
corresponding .cpp file(s) in your project - or code compiled from them
being linked in?

HTH
--
Alec Ross
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )