[openbeos] Re: Keyboard Preferences Beta.
- From: François Revol <revol@xxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Thu, 31 Jan 2002 08:49:49 +0100 (MET)
En réponse à Andrew Edward McCall <mccall@xxxxxxxxxxxxxxxxxxxxx>:
> >Some good questions.
>
> >Get with the Creative Design team to draw something.
> >Add it as a resource to your application.
> >Load it as a BBitmap and copy it into your BView.
>
> Hmm.... I *might* need a little more information than that :) Thats like
> saying "You load up the BeIDE, and write the program you need." to me :)
> I seem to remember you can add a bitmap with xres or something?
You can use any resource editor you like, the default one in BeOS is QuickRes.
xres is a command line tool.
Using QuickRes is quite easy, just run it (from a Terminal),
QuickRes &
Save your new file as TheApplication.rsrc, and click on the new button under
the menu bar, to add resources.
for bitmaps, use Bitmap (BBMP) give it a name (click in the list on the right
column)
then you can copy-paste the bitmap from another painting app (click in the
bitmap area before hitting ALT-V)
Remember you can open any image with QuickRes to access the bitmap data (even
.jpgs and so) and copy-paste from them.
Reminds me I should ask the Creative Team for a new icon for Workspaces :)
grin, I really liked the old one.
> Don't laugh, but it was only after reading François Revol code for
> Workspaces and trying to implement reading and writing of the
> preferences file I thought "Ahhh that was what my lecturer was on about
> in C++ while I slept.....". I can see a point to protecting objects
Ek =)
> now... but wait, who needs to do that when you can just presume that
> nothing bads ever going to happen!?!
It's just a matter of clean design. OO design is meant to be this way. We call
this encapsulation. Of course for a prog like that it doesn't really matter,
anyway taking good practice habits on such small progs really help later when
working on huge things :)
>
> >Sort of. Really the thing to do here is mail your team leader. While
> everything
> >is accessible (since it is in CVS, after all), I want to give bundles
>
> of things
> >to the beta testers...
> >
> >In any case, this was a good opportunity to talk about these things.
> ;-)
>
> Yeah, I would prefer to release binary software to a few selected people
>
> first, that way those people are fully aware of the risks of using it.
>
> The other people if they *really* want it, they can CVS co it and
> compile it themselves, and then they are to blame if something goes
> wrong.
"And if your computer eats you or something, we shall not be liable of any kind
of thing..." :)
>
> Thanks
>
> Andrew Edward McCall
> mccall@xxxxxxxxxxxxxxxxxxxxx
> --
> OpenBeOS! - Join the revolution now!
> http://www.openbeos.org/
>
>
>
- References:
- [openbeos] Re: Keyboard Preferences Beta.
- From: Andrew Edward McCall
Other related posts:
- » [openbeos] Keyboard Preferences Beta.
- » [openbeos] Re: Keyboard Preferences Beta.
- » [openbeos] Re: Keyboard Preferences Beta.
- » [openbeos] Re: Keyboard Preferences Beta.
- » [openbeos] Re: Keyboard Preferences Beta.
- » [openbeos] Re: Keyboard Preferences Beta.
- » [openbeos] Re: Keyboard Preferences Beta.
- [openbeos] Re: Keyboard Preferences Beta.
- From: Andrew Edward McCall