]> git.tdb.fi Git - r2c2.git/blobdiff - data/remote/statusbar.ui
Add a new remote control program with GLtk-based UI
[r2c2.git] / data / remote / statusbar.ui
diff --git a/data/remote/statusbar.ui b/data/remote/statusbar.ui
new file mode 100644 (file)
index 0000000..8efe2d0
--- /dev/null
@@ -0,0 +1,45 @@
+layout
+{
+       margin
+       {
+               horizontal 6;
+               vertical 8;
+       };
+};
+
+row
+{
+       grid 3
+       {
+               indicator "ind_power_on"
+               {
+                       style "green";
+               };
+               indicator "ind_power_off"
+               {
+                       style "red";
+               };
+               indicator "ind_halt";
+               button "btn_power_on"
+               {
+                       text "On";
+                       style "green";
+               };
+               button "btn_power_off"
+               {
+                       text "Off";
+                       style "red";
+               };
+               constraint COPY_WIDTH "btn_power_on";
+               button "btn_halt"
+               {
+                       text "Halt";
+               };
+               constraint COPY_WIDTH "btn_power_on";
+       };
+       label "lbl_status"
+       {
+               style "digital";
+       };
+       expand;
+};