> Hey guys,
>
> just wanted to say that the icon loading code for emoticons works
> now...it
> parses the emoticon prefs file(I changed the structure of that!), and
> loads
> the bitmaps, for now only static bitmaps and no animation. The code
> is still
> a bit dirty though and I will improve it in the following days, along
> with a
> quick thingy that displays the icons....Simon due to my way of
> implementing
> I could make it entirely tab seperated...there's a ";" between the
> description of the icons and the shortcuts...will see if I can change
> it in
> the future,
>
> regards,
>
> Tim
Good news, well done.
I've been looking at the animated ones - my simple solution of
combining all the frames into 1 static image will not work as some of
the gifs have different pauses after different frames. My current
thinking was that we could have a new text file to describe animated
emots. Maybe something like this:
--in icon prefs file----
/icons/standard/angel.png (a) (A) ; Angel
[...]
/icons/standard/wink.anim ;) ;-) ; Winking smiley
---------
--in wink.anim----
icons/standard/wink1.png 10
icons/standard/wink2.png 50
icons/standard/wink3.png 10
0
----------
Where the number after each frame represents the number of hundreths of
seconds to display the frame for, and the final 0 means to loop
forever.
Other news:
I've finally got a BListItem class that does proper automatic text
wrapping, performance seems similar to a BTextView on resizing a lot of
items.
Simon
|