summaryrefslogtreecommitdiff
path: root/ldmicro/maincontrols.cpp
diff options
context:
space:
mode:
authorNatsuDrag92018-06-21 14:32:36 +0530
committerNatsuDrag92018-06-21 14:32:36 +0530
commit1ad2c35e2da6309d67422c49ee2d23287536a16b (patch)
tree44416ecd7bd98e72a5bfd303ecf9391529638eea /ldmicro/maincontrols.cpp
parent430fe4a55793714837bf6b659625ec05ca51eae2 (diff)
downloadLDMicroGtk-1ad2c35e2da6309d67422c49ee2d23287536a16b.tar.gz
LDMicroGtk-1ad2c35e2da6309d67422c49ee2d23287536a16b.tar.bz2
LDMicroGtk-1ad2c35e2da6309d67422c49ee2d23287536a16b.zip
Renamed PackBox to PackBoxMenu.
Diffstat (limited to 'ldmicro/maincontrols.cpp')
-rw-r--r--ldmicro/maincontrols.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ldmicro/maincontrols.cpp b/ldmicro/maincontrols.cpp
index 60f6a2b..d3d8e9b 100644
--- a/ldmicro/maincontrols.cpp
+++ b/ldmicro/maincontrols.cpp
@@ -521,7 +521,7 @@ HMENU MakeMainWindowMenus(void)
//-----------------------------------------------------------------------------
void MakeMainWindowControls(void)
{
- HWID PackBox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
+ HWID PackBoxMenu = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
HWID grid = gtk_grid_new();
/// Pane to separate Scrolled Window and other widgets
HWID pane = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
@@ -581,7 +581,7 @@ void MakeMainWindowControls(void)
/// Creating Scrolled Window
ScrollWindow = gtk_scrolled_window_new (NULL, NULL);
- HWID viewport = gtk_viewport_new (NULL,NULL);
+ HWID ViewPortMenu = gtk_viewport_new (NULL,NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (ScrollWindow),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_ALWAYS);
@@ -589,8 +589,8 @@ void MakeMainWindowControls(void)
gtk_widget_set_vexpand(GTK_WIDGET(ScrollWindow), TRUE);
/// Adding DrawWindow to pane
- gtk_container_add (GTK_CONTAINER(viewport), DrawWindow);
- gtk_container_add (GTK_CONTAINER(ScrollWindow), viewport);
+ gtk_container_add (GTK_CONTAINER(ViewPortMenu), DrawWindow);
+ gtk_container_add (GTK_CONTAINER(ScrollWindow), ViewPortMenu);
gtk_paned_pack1 (GTK_PANED (pane), ScrollWindow, TRUE, TRUE);
gtk_paned_set_position (GTK_PANED (pane), 0);
@@ -606,9 +606,9 @@ void MakeMainWindowControls(void)
"Introduction"), "LDMicro Started");
/// Appneding Status Bar to box which is then added to Main Window
- gtk_box_pack_start(GTK_BOX(PackBox), grid, FALSE, TRUE, 0);
- gtk_box_pack_start(GTK_BOX(PackBox), StatusBar, FALSE, FALSE, 0);
- gtk_container_add(GTK_CONTAINER(MainWindow), PackBox);
+ gtk_box_pack_start(GTK_BOX(PackBoxMenu), grid, FALSE, TRUE, 0);
+ gtk_box_pack_start(GTK_BOX(PackBoxMenu), StatusBar, FALSE, FALSE, 0);
+ gtk_container_add(GTK_CONTAINER(MainWindow), PackBoxMenu);
}
//-----------------------------------------------------------------------------