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 Nov, 2014 3 commits
  4. 16 Jan, 2014 1 commit
  5. 05 Dec, 2012 1 commit
  6. 26 Dec, 2011 2 commits
  7. 25 Oct, 2011 1 commit
  8. 08 Sep, 2011 1 commit
  9. 26 May, 2011 1 commit
  10. 25 Feb, 2010 1 commit
  11. 16 Oct, 2009 1 commit
  12. 11 Mar, 2009 1 commit
  13. 09 Mar, 2008 1 commit
  14. 30 Aug, 2006 1 commit
  15. 06 Jun, 2006 1 commit
  16. 10 Apr, 2006 1 commit
  17. 04 Mar, 2006 1 commit