]> git.tdb.fi Git - r2c2.git/blobdiff - data/remote/trainpanel.ui
Add a new remote control program with GLtk-based UI
[r2c2.git] / data / remote / trainpanel.ui
diff --git a/data/remote/trainpanel.ui b/data/remote/trainpanel.ui
new file mode 100644 (file)
index 0000000..7b03c96
--- /dev/null
@@ -0,0 +1,59 @@
+layout
+{
+       margin
+       {
+               horizontal 6;
+               vertical 8;
+       };
+};
+
+column
+{
+       row
+       {
+               panel "pnl_functions"
+               {
+                       style "group";
+                       layout
+                       {
+                               margin
+                               {
+                                       horizontal 0;
+                                       vertical 0;
+                               };
+                       };
+               };
+               column
+               {
+                       label "lbl_speed"
+                       {
+                               style "digital";
+                       };
+                       expand true false;
+
+                       vslider "sld_speed";
+                       constraint COPY_WIDTH "pnl_functions";
+                       expand;
+               };
+               column
+               {
+                       indicator "ind_forward";
+                       button "btn_forward"
+                       {
+                               style "arrow_up";
+                       };
+                       constraint COPY_WIDTH "sld_speed";
+                       button "btn_reverse"
+                       {
+                               style "arrow_down";
+                       };
+                       constraint COPY_HEIGHT "btn_forward";
+                       indicator "ind_reverse";
+               };
+       };
+       label "lbl_status"
+       {
+               style "digital";
+       };
+       expand true false;
+};