BCheckBox: Add tri-state support

* Add possible control state B_CONTROL_PARTIALLY_ON and support it in
  BCheckBox and BControlLook.
* BCheckBox: Add partialStateToOff property defining whether the
  partial state should transition to off. Defaults to false (i.e.
  partial to on).
This commit is contained in:
Ingo Weinhold
2013-12-21 02:12:04 +01:00
parent 7bcfb21538
commit df37cd4edd
5 changed files with 88 additions and 22 deletions
+2 -1
View File
@@ -12,7 +12,8 @@
enum {
B_CONTROL_OFF = 0,
B_CONTROL_ON = 1
B_CONTROL_ON = 1,
B_CONTROL_PARTIALLY_ON = 2
};
class BWindow;