summaryrefslogtreecommitdiff
path: root/callbacks.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2022-12-26 16:42:37 +0000
committerIan C <ianc@noddybox.co.uk>2022-12-26 16:42:37 +0000
commit53bfb0ef10483150779b3b05271fa04988484316 (patch)
treefabc3702e3a7d71add9b97f48fc6621d387458e6 /callbacks.c
parent33ebf50aa4a855fb1a0df2cf682796abbc39d07f (diff)
Added dependencies for sources in Makefile. Removed old GTK callbacks.
Diffstat (limited to 'callbacks.c')
-rw-r--r--callbacks.c90
1 files changed, 0 insertions, 90 deletions
diff --git a/callbacks.c b/callbacks.c
deleted file mode 100644
index 2b8ffa9..0000000
--- a/callbacks.c
+++ /dev/null
@@ -1,90 +0,0 @@
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include <gtk/gtk.h>
-#include <limits.h>
-
-#include "callbacks.h"
-#include "interface.h"
-#include "support.h"
-
-#include "gtkutil.h"
-#include "gemma.h"
-
-
-void CloseApplication(GtkObject *object, gpointer user_data)
-{
- GEMMA_Stop();
- gtk_main_quit();
-}
-
-
-void OnRun(GtkButton *button, gpointer user_data)
-{
- GEMMA_Run();
-}
-
-
-void OnStep(GtkButton *button, gpointer user_data)
-{
- GEMMA_Step();
-}
-
-
-void OnStepOver(GtkButton *button, gpointer user_data)
-{
- GEMMA_StepOver();
-}
-
-
-void OnStop(GtkButton *button, gpointer user_data)
-{
- GEMMA_Stop();
-}
-
-
-void OnLoadHEX(GtkButton *button, gpointer user_data)
-{
- static char path[PATH_MAX]={0};
-
- if (DialogFSelect("Open INTEL HEX File","INTEL HEX","*.hex",path))
- {
- GEMMA_LoadHEX(path);
- }
-}
-
-
-void OnLoadLabels(GtkButton *button, gpointer user_data)
-{
- static char path[PATH_MAX]={0};
-
- if (DialogFSelect("Open Label File","Labels","*.lbl",path))
- {
- GEMMA_LoadLabels(path);
- }
-}
-
-
-void OnRunUntil(GtkButton *button, gpointer user_data)
-{
- GEMMA_RunUntil();
-}
-
-
-void OnQuit(GtkButton *button, gpointer user_data)
-{
- GEMMA_Stop();
- gtk_main_quit();
-}
-
-
-void OnMemoryViewChoice(GtkComboBox *combobox, gpointer user_data)
-{
- GEMMA_UpdateDisplay(UPDATE_MEM_VIEW);
-}
-
-void OnViewMode(GtkToggleButton *togglebutton, gpointer user_data)
-{
- GEMMA_UpdateDisplay(UPDATE_MEM_VIEW);
-}