Commit Graph

10 Commits

Author SHA1 Message Date
June Tate-Gans
e1b7befb82 bitwidgets: Add a "Dialog" box to the toolkit
This allows for simple messages to be displayed on top of the screen.
2021-05-09 23:12:55 -05:00
June Tate-Gans
c924aba55c bitwidgets: Make rectangles actually have variable width outlines 2021-05-09 23:11:38 -05:00
June Tate-Gans
b2cc80e404 bitwidgets: Make ListView resilient to empty models 2021-05-09 23:11:15 -05:00
June Tate-Gans
fa7a84ca3f bitwidgets: Make rectangle render unfilled outlines
Something I've wanted for a while has been the ability to draw a rectangle
anywhere on the screen without it being filled in. Hopefully this does the
trick.
2021-05-09 14:57:41 -05:00
June Tate-Gans
1212ce91de clock: Add 24-hour toggle, load, ram graphs
This adds a ton of new functionality to the clock widget, and exercises the
bitwidgets widgets a bit more. This adds a new button widget, called a
LabelWidget. These are pretty unsurprising -- they're just a label inside of a
button slot in the buttonbar. They do give us the ability to toggle and add
"more" glyphs in the button for more flexibility in the buttonbar.

  - Make Clock toggle between 12 and 24 hour clock modes.
  - Add CPU load and RAM load histograms.
  - Create a new button type, LabelButton.
  - Create a new widget, the Graph, which shows a histogram of values over
    time.
  - Make Button not assign values by way of accessors in the constructor.
  - Make Label actually dynamically change its bounds based upon properties.
2021-05-09 14:05:18 -05:00
June Tate-Gans
4eb039bc27 glyphs: Add box and filled box
We can use these in buttons as a fast indicator if a particular setting is
enabled/disabled.
2021-05-09 10:30:12 -05:00
June Tate-Gans
82a6094b0a bitwidgets: Add two more glyphs 2021-05-09 08:25:32 -05:00
June Tate-Gans
73649c7244 bitwidgets: Fix X11DisplayDevice dimensions to match LCD 2021-05-09 08:25:32 -05:00
June Tate-Gans
faf052b015 bitwidgets: Split classes out of button
There's a bunch of unrelated stuff in button, like Glyphs and ButtonBar, which
should be in their own modules.
2021-05-08 23:01:37 -05:00
June Tate-Gans
ff25e01694 Migrate g13gui out of the g13gui subdir
The whole project at this point is entirely python, with no g13d present
anywhere, so let's clean up the tree somewhat and make it flatter.
2021-05-08 19:47:35 -05:00