Use flat box so redraw() can update changed image correctly.

This commit is contained in:
Sanel Zukan 2013-06-03 21:47:26 +00:00
parent 05f7fc15e1
commit ca5911fe94
1 changed files with 5 additions and 1 deletions

View File

@ -81,7 +81,11 @@ private:
BatteryList batts;
public:
BatteryMonitor() : Fl_Box(0, 0, 30, 25), bimg(0) { scan_and_init(); }
BatteryMonitor() : Fl_Box(0, 0, 30, 25), bimg(0) {
box(FL_FLAT_BOX);
scan_and_init();
}
EdbusConnection &connection() { return con; }
void tooltip_printf(const char *fmt, ...);