1. 04 May, 2016 1 commit
    • Explorer09's avatar
      Rename Meter.setValues() functions to updateValues() · 9dea20e0
      Explorer09 authored
      Rationale (copied from htop issue #471):
      The function name "setValues" is misleading. For most OOP (object-
      oriented programming) contexts, setXXX functions mean they will change
      some member variables of an object into something specified in
      function arguments. But in the *Meter_setValues() case, the new values
      are not from the arguments, but from a hard-coded source. The caller
      is not supposed to change the values[] to anything it likes, but
      rather to "update" the values from the source. Hence, updateValues is
      a better name for this family of functions.
      9dea20e0
  2. 11 Mar, 2016 1 commit
    • Explorer09's avatar
      Explicit "maxItems" property of meters · 99fb3070
      Explorer09 authored
      Two changes in this commit:
      - All meters now explicitly specify "maxItems" property, even for just
        1 item. (Exception is "container" CPU meter classes, which use
        CUSTOM_METERMODE.)
      - "maxItems" being 0 is now allowed. This will let bar meters and graph
        meters render an empty meter.
      99fb3070
  3. 27 Aug, 2015 2 commits
  4. 08 Jun, 2015 1 commit
  5. 22 Jan, 2015 1 commit
  6. 24 Apr, 2014 1 commit
  7. 16 Jan, 2014 1 commit
  8. 26 Feb, 2013 1 commit
  9. 05 Dec, 2012 1 commit
  10. 26 Dec, 2011 2 commits
  11. 08 Sep, 2011 1 commit
  12. 26 May, 2011 1 commit
  13. 22 Nov, 2010 1 commit
  14. 25 Feb, 2010 1 commit
  15. 09 Mar, 2008 1 commit
  16. 12 Jul, 2006 1 commit
  17. 06 Jun, 2006 1 commit
  18. 10 Apr, 2006 1 commit
  19. 04 Mar, 2006 1 commit