summaryrefslogtreecommitdiff
path: root/ldmicro/lib/linuxUI
diff options
context:
space:
mode:
authorNatsuDrag92018-05-31 12:35:36 +0530
committerNatsuDrag92018-05-31 12:35:36 +0530
commit0e41f9a700e928970f79b20d8d6a0f9993b16df6 (patch)
treefd9a135e71ec3db3352f80ed5b601c1dd538a8bc /ldmicro/lib/linuxUI
parent39d3eeb5fc8c969f8eed03e0c1fc818453cca6df (diff)
downloadLDMicroGtk-0e41f9a700e928970f79b20d8d6a0f9993b16df6.tar.gz
LDMicroGtk-0e41f9a700e928970f79b20d8d6a0f9993b16df6.tar.bz2
LDMicroGtk-0e41f9a700e928970f79b20d8d6a0f9993b16df6.zip
Rearranged variables
Diffstat (limited to 'ldmicro/lib/linuxUI')
-rw-r--r--ldmicro/lib/linuxUI/linuxUI.cpp45
1 files changed, 2 insertions, 43 deletions
diff --git a/ldmicro/lib/linuxUI/linuxUI.cpp b/ldmicro/lib/linuxUI/linuxUI.cpp
index 8904f77..3dbe1bb 100644
--- a/ldmicro/lib/linuxUI/linuxUI.cpp
+++ b/ldmicro/lib/linuxUI/linuxUI.cpp
@@ -1,49 +1,8 @@
#include "linuxUI.h"
/// Menu Variables
-HWID window;
-HWID menu_box; // Box for alignment
-HWID packed_menu_box; // Stores the packed box
-HWID FileMenu; // File Menu
-HWID EditMenu; // Edit Menu
-HWID settings; // Settings Menu
-HWID ProcessorMenu; // Processor Menu
-HWID InstructionMenu; // Instruction Menu
-HWID compile; // Compile Menu
-HWID help; // Help Menu
-HWID SimulateMenu; // Simulate Menu
-HWID menu_bar; // Menu Bar
-HWID file_label; // File menu label
-HWID edit_label; // Edit menu label
-HWID instruction_label; // Instruction menu label
-HWID settings_label; // Settings menu label
-HWID compile_label; // Compile menu label
-HWID help_label; // Help menu label
-HWID simulate_label; // Simulate menu label
-HWID file_menu_items; // File menu item
-HWID edit_menu_items; // Edit menu item
-HWID instruction_menu_items; // Instruction menu item
-HWID settings_menu_items; // Settings menu item
-HWID processor_menu_items; // Processor menu items
-HWID compile_menu_items; // Compile menu item
-HWID help_menu_items; // Help menu item
-HWID simulate_menu_items; // Simulate menu item
-HWID file_menu_separator; // File menu separator
-HWID edit_menu_separator; // Edit menu separator
-HWID instruction_menu_separator; // Instruction menu separator
-HWID simulate_menu_separator; // Simulate menu separator
-
-//Scrollbars for the ladder logic area
-int ScrollWidth; // Width of scrolling
-int ScrollHeight; // Height of scrolling
-HWID IoList; // Window for list view
-
-// ldmicro.cpp
-char CurrentSaveFile[MAX_PATH];
-
-// Simulation Mode
-BOOL InSimulationMode;
-
+ HWID window;
+
/// Wraper function for gtk_window_has_toplevel_focus
BOOL isFocus(HWID window)
{