[haiku-bugs] Re: [Haiku] #3560: Have window status line indicate used disk space

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Fri, 24 Oct 2014 15:45:50 -0000

#3560: Have window status line indicate used disk space
------------------------------+---------------------------
   Reporter:  BeOSR           |      Owner:  stippi
       Type:  enhancement     |     Status:  new
   Priority:  normal          |  Milestone:  R1
  Component:  User Interface  |    Version:  R1/pre-alpha1
 Resolution:                  |   Keywords:
 Blocked By:                  |   Blocking:
Has a Patch:  0               |   Platform:  All
------------------------------+---------------------------

Comment (by pulkomandy):

 Why did you make gMoreFiels a global? Can't it be a field of the class
 instead?

 An even better solution would be to have only the string as a field of the
 class. This way, we can generate the string in _UpdateCount only once (or
 when the count changes), and drawing it does not need to recompute it each
 time the view is drawn.

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

Other related posts: