[interfacekit] Re: Missing stuff from GraphicsDefs.h

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: interfacekit@xxxxxxxxxxxxx
  • Date: Sat, 26 Jun 2004 18:03:40 +0200 CEST

"DarkWyrm" <bpmagic@xxxxxxxxxxxxxxx> wrote:
> > it seems that all extern constants in GraphicsDefs.h have not been 
> > defined anywhere yet.
> > Should they be defined in the local files, i.e. B_MAIN_SCREEN_ID in 
> > Screen.cpp, or together in a GraphicsDefs.cpp?
> > If no one stops me, I will commit the latter to the repository in 
> > the 
> > next few days.
> By convention, Globals.cpp has been the place for storing a lot of 
> different definitions and miscellaneous functions declared in the 
> headers, such as get_pixel_size_for() and such. I have no problem if 
> you wish to place the other undefined symbols there. :)

Okay, I'll put it in there. Altough I'd like it more to have 
InterfaceDefs.cpp and GraphicsDefs.cpp separated from each other; I 
think that makes it easier to find when someone is searching for them.

Out of curiosity: what convention put Globals.cpp in place? :)

Bye,
   Axel.


Other related posts: