Re: [bme-develop] New source code?
Status: Planning
Brought to you by:
sirmik
|
From: Sir M. <obe...@ho...> - 2004-03-16 10:38:13
|
Hi, >You are working on the GUI side only right? or are you working with >IMgs from the MSN protocol? >We should probably add a few parameters to the >BMessage(MSN_SEND_MESSAGE) in order to include these effects. >It would also be nice to choose different fonts and colors, right now >every msg is hardcoded Arial black on the protocol side. > Uhm yes I changed a bit of code in the BMsnSBHandler class (and the MSNChatter class)...I changed to also parse the EF command and wrap the command part (I=italic, B=bold, U=underscore, S = Strikeout, and combinations of it) into the MSN_SEND_MESSAGE...hope that isn't a problem, I'll attach the new code... maybe it's also a better idea to change the insertIM(const char *fname, const char *im, rgb_color rgb, const char* effect) in MSNChatter to insertIM(BMessage *message) or isn't that possible, because of weird message things? In that we way don't have to pass all the parameters in the BMessage separately... I know now that Bold and/or Italic work, the font is properly changed...major thanx to a friend of mine, who helped me testing this...he also offered to be a beta tester...as I said the other two (underscore and strikeout) aren't implemented by be...we can provide a work around for that, but that may be difficult to realise...we'll see about that...I'm also thinking of installing some windows fonts in beOS to implement the font handling code(if the font isn't found, change back to a beOS font)...btw there is also a lot of info in the msn messages about what kind of font class (times new roman like, arial like) the message uses, maybe we can use that as well...to select an appropriate font, when the font itself isn't selected.... Yesterday I also continued my work on parsing the icon prefs file...I'm making a StringTokenizer for that, and that piece of code, has some problems with it, hope I'll figure it out today though... >I don't think I can get us one. Sorry. If we had java for BeOS >maybe... jaja =) >That would rock!! > That would rock indeed! Well then I suggest using the sourceforge webspace...have to learn some php then, so it can take some time before I have something decent...can send you the mockup of the page I flinged together last week...if you want (Simon already saw it)...then if we agree we can use that... regards, Tim _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 |