[haiku-development] Re: [PATCH] Graphical embellishment to time preferences

  • From: julun <host.haiku@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 08 Oct 2008 23:58:05 +0200

Hi Stephen,

Stephen Deken schrieb:
Thanks everyone.  I do appreciate hearing comments on this (admittedly
useless) patch.

I'll see what I can do regarding the existing Clock replicant.  It
does seem to be quite similar to the existing code in the Preferences
panel.

Before the time prefs 'rewrite' it was using code based on the Clock example. Thanks to Stephan and his artistic skills, my poor initial implementation improved very well. :)

  I might go so far as to use the Clock replicant as a component
in the preferences panel, but I don't know much about how replicants
work.  At least not yet.

Not sure if it would be the right place, but to avoid code duplication you can move the AnalogClock.cpp to /src/kits/shared and the .h to /headers/private/shared. Probably you can fiddle something in the Jamfile as well.

Maybe there's an other way/place to share files between apps?


Best regards,
Karsten

Other related posts: