[haiku-bugs] Re: [Haiku] #16412: Problems changing Decorators/ControlLooks

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 09 Aug 2020 19:52:37 -0000

#16412: Problems changing Decorators/ControlLooks
-------------------------------------+-------------------------
  Reporter:  bitigchi                |      Owner:  nobody
      Type:  bug                     |     Status:  new
  Priority:  normal                  |  Milestone:  Unscheduled
 Component:  Preferences/Appearance  |    Version:  R1/beta2
Resolution:                          |   Keywords:
Blocked By:  12994                   |   Blocking:
  Platform:  All                     |
-------------------------------------+-------------------------
Comment (by jscipione):

 Replying to [comment:3 bitigchi]:

IMO, the whole thing is so confusing. What's a ControlLook? What's a
 Decorator? What is a "Default"? It's not even possible to translate
 "ControlLook" properly.

It should just be one drop-down menu with title "System Theme", then two
 entries provided by default, "Haiku" and "Be".

 The Decorator name comes from Design Patterns: Elements of Reusable
 Object-Oriented Software [0] page 196

 Control Look should be called Façade from [0] page 208 but the person who
 named it didn't know the reference and now it is too late to change. We
 could change the menu field label in Appearance though.

 Someday I'd like to add a color scheme list to Appearance which would
 allow you to create, save, and import color scheme sets making
 ThemeManager obsolete.

 Master Theme switch is then possible.

 Default should be renamed Haiku and DefaultDecorator should be renamed
 HaikuDecorator while DefaultDecorator class should be empty and point to
 HaikuDecorator. DefaultWindowBehaviour should also be renamed
 HaikuWindowBehavior (US spelling please) and then DefaultWindowBehavior
 class should be an unmodified child of HaikuWindowBehavior.

 [0] http://www.uml.org.cn/c++/pdf/DesignPatterns.pdf
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16412#comment:7>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: