From 51f4a97ea332f4d5dcf22c1c43d871a75d096f67 Mon Sep 17 00:00:00 2001 From: Steffen Pohle Date: Sun, 8 Jan 2023 21:57:02 +0100 Subject: [PATCH] preparations for position stabilisation --- posctl.cc | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 posctl.cc diff --git a/posctl.cc b/posctl.cc new file mode 100644 index 0000000..514b4de --- /dev/null +++ b/posctl.cc @@ -0,0 +1,29 @@ +/*************************************************************************************** + * + * posctl.cc is part of SimpleSkyCam. + * + *****************************************************************************************/ + +#include +#include +#include +#include +#include +#include "gui.h" +#include "filter.h" +#include "detect.h" +#include "configuration.h" +#include "video.h" +#include "videodev.h" +#include "histogram.h" + +extern GtkBuilder *_builder_; // work around for threads + +void cb_posctl_show_window (GtkWidget *widget, gpointer data) { + printf ("%s:%d %s\n", __FILE__, __LINE__, __FUNCTION__); + + GtkWidget *wnd = GTK_WIDGET(gtk_builder_get_object (GTK_BUILDER(_builder_), "window-posctl")); + gtk_widget_show(wnd); +} + +