Starting with new PlateView widget

This commit is contained in:
Selim Mustafaev 2022-08-14 16:24:48 +03:00
parent dc4e547c62
commit 5dd32e92b8
4 changed files with 33 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
.idea/ .idea/
.vscode/
cmake-build-* cmake-build-*
build/

View File

@ -81,7 +81,7 @@ add_executable(autocat_gnome main.cpp
gtkpp/MessageDialog.cpp gtkpp/MessageDialog.cpp
gtkpp/MessageDialog.h gtkpp/MessageDialog.h
gtkpp/Leaflet.cpp 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} target_link_libraries(autocat_gnome ${GTK_LIBRARIES}
${GLIB_LIBRARIES} ${GLIB_LIBRARIES}

5
gui/custom/PlateView.c Normal file
View File

@ -0,0 +1,5 @@
//
// Created by selim on 01.06.2022.
//
#include "PlateView.h"

25
gui/custom/PlateView.h Normal file
View File

@ -0,0 +1,25 @@
//
// Created by selim on 01.06.2022.
//
#ifndef AUTOCAT_GNOME_PLATEVIEW_H
#define AUTOCAT_GNOME_PLATEVIEW_H
#include <gtk/gtk.h>
#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