summaryrefslogtreecommitdiff
path: root/ldmicro/resetdialog.cpp
diff options
context:
space:
mode:
authorakshay-c2019-05-07 10:50:36 +0530
committerakshay-c2019-05-07 10:50:36 +0530
commitf6250bab468eadfc020922040966d6ba75edd341 (patch)
tree7facc6d3fd89c0c23bce197ca9eb67fd2b20a185 /ldmicro/resetdialog.cpp
parent46fbe3ae31bb5687f31b17acac4c449699876f2f (diff)
downloadLDmicroQt-f6250bab468eadfc020922040966d6ba75edd341.tar.gz
LDmicroQt-f6250bab468eadfc020922040966d6ba75edd341.tar.bz2
LDmicroQt-f6250bab468eadfc020922040966d6ba75edd341.zip
Uncommented Titlebar Update Calls at places; Code beautification and code cleaning
Diffstat (limited to 'ldmicro/resetdialog.cpp')
-rw-r--r--ldmicro/resetdialog.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/ldmicro/resetdialog.cpp b/ldmicro/resetdialog.cpp
index 54df78c..0d155b8 100644
--- a/ldmicro/resetdialog.cpp
+++ b/ldmicro/resetdialog.cpp
@@ -118,35 +118,4 @@ void ShowResetDialog(char *name)
break;
}
DestroyWindow();
- /*ResetGrid = gtk_grid_new();
- ResetPackingBox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
-
- ResetDialog = gtk_window_new(GTK_WINDOW_TOPLEVEL);
- gtk_window_set_title(GTK_WINDOW(ResetDialog), "Reset");
- gtk_window_set_default_size(GTK_WINDOW(ResetDialog), 100, 50);
- gtk_window_set_resizable (GTK_WINDOW (ResetDialog), FALSE);
- gtk_container_add(GTK_CONTAINER(ResetDialog), ResetPackingBox);
- gtk_widget_add_events (ResetDialog, GDK_KEY_PRESS_MASK);
- gtk_widget_add_events (ResetDialog, GDK_BUTTON_PRESS_MASK);
-
- MakeControls();
-
- if(name[0] == 'T') {
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (TypeTimerRadio), TRUE);
- }
- else {
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (TypeCounterRadio), TRUE);
- }
- gtk_entry_set_text (GTK_ENTRY (NameTextbox), name+1);
-
- gtk_widget_set_sensitive (MainWindow, FALSE);
- gtk_widget_show_all (ResetDialog);
- gtk_widget_grab_focus (NameTextbox);
-
- g_signal_connect (G_OBJECT (ResetDialog), "key-press-event",
- G_CALLBACK(ResetDialogKeyPress), (gpointer)name);
- g_signal_connect (G_OBJECT (OkButton), "clicked",
- G_CALLBACK(ResetDialogMouseClick), (gpointer)name);
- g_signal_connect (G_OBJECT (CancelButton), "clicked",
- G_CALLBACK(ResetCallDestroyWindow), NULL);*/
}