diff --git a/.gitignore b/.gitignore index b8a35d2..b2054e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .idea/ +.vscode/ cmake-build-* +build/ diff --git a/CMakeLists.txt b/CMakeLists.txt index bc67c79..264795d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ add_executable(autocat_gnome main.cpp gtkpp/MessageDialog.cpp gtkpp/MessageDialog.h gtkpp/Leaflet.cpp - gtkpp/Leaflet.h gtkpp/Dialog.cpp gtkpp/Dialog.h gui/AddNumberDialog.cpp gui/AddNumberDialog.h) + gtkpp/Leaflet.h gtkpp/Dialog.cpp gtkpp/Dialog.h gui/AddNumberDialog.cpp gui/AddNumberDialog.h gui/custom/PlateView.h gui/custom/PlateView.c) target_link_libraries(autocat_gnome ${GTK_LIBRARIES} ${GLIB_LIBRARIES} diff --git a/gui/custom/PlateView.c b/gui/custom/PlateView.c new file mode 100644 index 0000000..6db4589 --- /dev/null +++ b/gui/custom/PlateView.c @@ -0,0 +1,5 @@ +// +// Created by selim on 01.06.2022. +// + +#include "PlateView.h" \ No newline at end of file diff --git a/gui/custom/PlateView.h b/gui/custom/PlateView.h new file mode 100644 index 0000000..f723c5d --- /dev/null +++ b/gui/custom/PlateView.h @@ -0,0 +1,25 @@ +// +// Created by selim on 01.06.2022. +// + +#ifndef AUTOCAT_GNOME_PLATEVIEW_H +#define AUTOCAT_GNOME_PLATEVIEW_H + +#include + +#define PLATEVIEW(obj) GTK_CHECK_CAST(obj, plateview_get_type(), PlateView) +#define PLATEVIEW_CLASS(klass) GTK_CHECK_CLASS_CAST(klass, plateview_get_type(), PlateViewClass) + +typedef struct { + +} PlateView; + +typedef struct { + GtkWidgetClass parent_class; +} PlateViewClass; + +guint plateview_get_type (void); +GtkWidget* plateview_new (void); +void plateview_clear (PlateView* view); + +#endif //AUTOCAT_GNOME_PLATEVIEW_H