2019-10-26 23:41:58 +03:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/* Copyright (C) 2019 cyclopsian */
|
2019-07-27 03:26:37 +03:00
|
|
|
|
|
|
|
#ifndef WDISPLAY_GLVIEWPORT_H
|
|
|
|
#define WDISPLAY_GLVIEWPORT_H
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
#define WD_TYPE_GL_VIEWPORT (wd_gl_viewport_get_type())
|
|
|
|
G_DECLARE_DERIVABLE_TYPE(
|
|
|
|
WdGLViewport, wd_gl_viewport, WD, GL_VIEWPORT,GtkGLArea)
|
|
|
|
|
|
|
|
struct _WdGLViewportClass {
|
|
|
|
GtkGLAreaClass parent_class;
|
|
|
|
};
|
|
|
|
|
|
|
|
GtkWidget *wd_gl_viewport_new(void);
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif
|