diff options
author | akshay-c | 2018-08-31 09:29:19 +0530 |
---|---|---|
committer | akshay-c | 2018-08-31 09:29:19 +0530 |
commit | ceb88448976243a8c5da2549e82f0d874cad16c9 (patch) | |
tree | 07fdc07f7bbc088c2752ae57810a8627ba479e8d | |
parent | 340e80974efb337468ad29d8e6bd58ce0d8f597b (diff) | |
download | LDMicroGtk-ceb88448976243a8c5da2549e82f0d874cad16c9.tar.gz LDMicroGtk-ceb88448976243a8c5da2549e82f0d874cad16c9.tar.bz2 LDMicroGtk-ceb88448976243a8c5da2549e82f0d874cad16c9.zip |
Background Color correction
-rw-r--r-- | ldmicro/ldmicro.cpp | 4 | ||||
-rw-r--r-- | ldmicro/maincontrols.cpp | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/ldmicro/ldmicro.cpp b/ldmicro/ldmicro.cpp index bdbb332..56ac038 100644 --- a/ldmicro/ldmicro.cpp +++ b/ldmicro/ldmicro.cpp @@ -1254,7 +1254,7 @@ int main(int argc, char** argv) gtk_window_resize (GTK_WINDOW(MainWindow), 800, 600); gtk_window_move(GTK_WINDOW(MainWindow), 10, 10); gtk_widget_override_background_color(GTK_WIDGET(MainWindow), - GTK_STATE_FLAG_NORMAL, ((HBRUSH)GetStockObject(DKGRAY_BRUSH))); + GTK_STATE_FLAG_NORMAL, ((HBRUSH)GetStockObject(BLACK_BRUSH))); gtk_window_set_default_icon(LoadImage(Instance, LDMICRO_ICON, IMAGE_ICON, 32, 32, 0)); gtk_window_set_icon(GTK_WINDOW(MainWindow), LoadImage(Instance, LDMICRO_ICON, @@ -1347,4 +1347,4 @@ int main(int argc, char** argv) gtk_main(); return EXIT_SUCCESS; -}
\ No newline at end of file +} diff --git a/ldmicro/maincontrols.cpp b/ldmicro/maincontrols.cpp index 4d046fe..d2f5795 100644 --- a/ldmicro/maincontrols.cpp +++ b/ldmicro/maincontrols.cpp @@ -615,7 +615,8 @@ void MakeMainWindowControls(void) /// Grid for status bars HWID StatusGrid = gtk_grid_new(); - + gtk_widget_override_background_color(GTK_WIDGET(StatusGrid), + GTK_STATE_FLAG_NORMAL, ((HBRUSH)GetStockObject(DKGRAY_BRUSH))); /// Creating Status Bar 1 and attaching to grid StatusBar[0] = gtk_statusbar_new(); @@ -1162,4 +1163,4 @@ void StopSimulation(void) KillTimer(MainWindow, TIMER_SIMULATE); UpdateMainWindowTitleBar(); -}
\ No newline at end of file +} |