Re: [bme-develop] icon loading
Status: Planning
Brought to you by:
sirmik
|
From: Sir M. <obe...@ho...> - 2004-03-31 09:53:49
|
Hi, I think I'm going to rewrite the code a bit today so we only need tabs and spaces in the text file...maybe also write a BHandler to handle the icons...IconManager or something...My idea is this: the handler will be owned by the main application object and the windows will send messages to that app to request for: -the entire list of emoticon objects -a message item representing an entire text with emoticons in it -a bitmap for one part of text(can be used when typing text in a textbox and instantly changing that to emoticons) what do you guys think? >--in icon prefs file---- >/icons/standard/angel.png (a) (A) ; Angel >[...] >/icons/standard/wink.anim ;) ;-) ; Winking smiley >--------- Uhm, the file format is currently like this :D : /icons/standard/angel.png Angel ; (a) (A) like you suggested.... > >--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. > We can do it like this....but why? If we do it like this we better use the gifs(get some gif animation code from the web)...I think converting gifs to a file like this is a lot of work, and we're just working around the problem, introducing another file format in stead of the gifs....anyway it can be done, but it's a lot of work... >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. > Nice work! have a screenshot? regards, Tim P.s. Daniel did you upload your latest code into cvs? _________________________________________________________________ Talk with your online friends with MSN Messenger http://messenger.msn.nl/ |