[haiku-bugs] Re: [Haiku] #7330: [PowerStatus] Extended battery info window mockup (easy)

  • From: "KapiX" <trac@xxxxxxxxxxxx>
  • Date: Fri, 23 Sep 2016 06:34:05 -0000

#7330: [PowerStatus] Extended battery info window mockup (easy)
----------------------------------------+----------------------------
   Reporter:  diver                     |      Owner:  axeld
       Type:  enhancement               |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/PowerStatus  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  1                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by KapiX):

 Although I don't really like the idea of two different layouts depending
 on batteries count in the system, I don't have a better idea so I started
 working on implementing TabView look.

 Unfortunately, `be_control_look`'s `Draw(Ina|A)ctiveTab` do not support
 tab orientations other than the default.
 I tried to do the rotation with `BAffineTransform` but not only it is
 cumbersome, but also the final result is blurry.

 This means I will have to implement the missing features in
 `be_control_look`.
 I will probably need to define some new constants which could be used with
 `flags` parameter of mentioned methods. Do you have any suggestions or
 pitfalls I should keep in mind?

--
Ticket URL: <https://dev.haiku-os.org/ticket/7330#comment:19>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: