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. 28 Aug, 2015 1 commit
  4. 21 Apr, 2014 1 commit
  5. 16 Jan, 2014 1 commit
  6. 05 Dec, 2012 1 commit
  7. 26 Dec, 2011 2 commits
  8. 26 May, 2011 1 commit
  9. 25 Feb, 2010 1 commit
  10. 09 Mar, 2008 1 commit
  11. 06 Jun, 2006 1 commit
  12. 10 Apr, 2006 1 commit
  13. 04 Mar, 2006 1 commit