Starting with new PlateView widget
This commit is contained in:
parent
dc4e547c62
commit
5dd32e92b8
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
|||||||
.idea/
|
.idea/
|
||||||
|
.vscode/
|
||||||
cmake-build-*
|
cmake-build-*
|
||||||
|
build/
|
||||||
|
|||||||
@ -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
5
gui/custom/PlateView.c
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
//
|
||||||
|
// Created by selim on 01.06.2022.
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "PlateView.h"
|
||||||
25
gui/custom/PlateView.h
Normal file
25
gui/custom/PlateView.h
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user