diff options
author | Benjamin Otte <otte@redhat.com> | 2018-04-05 12:58:46 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-04-05 14:58:43 +0200 |
commit | a5cb6aa36576d5441cbb1b68d3e920f2eecc6aa3 (patch) | |
tree | 7715d91fbe7329d45337e7064900336dd7ccd304 /gtk/inspector/fpsoverlay.h | |
parent | 6de4c63a67ba8b200ee9c79d985d9fa2c252a279 (diff) | |
download | gtk+-a5cb6aa36576d5441cbb1b68d3e920f2eecc6aa3.tar.gz |
inspector: Add an fps overlaywip/otte/snapshot
Diffstat (limited to 'gtk/inspector/fpsoverlay.h')
-rw-r--r-- | gtk/inspector/fpsoverlay.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gtk/inspector/fpsoverlay.h b/gtk/inspector/fpsoverlay.h new file mode 100644 index 0000000000..2def5cde86 --- /dev/null +++ b/gtk/inspector/fpsoverlay.h @@ -0,0 +1,34 @@ +/* + * Copyright © 2018 Benjamin Otte + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. + * + * Authors: Benjamin Otte <otte@gnome.org> + */ + +#ifndef __GTK_FPS_OVERLAY_H__ +#define __GTK_FPS_OVERLAY_H__ + +#include "inspectoroverlay.h" + +G_BEGIN_DECLS + +#define GTK_TYPE_FPS_OVERLAY (gtk_fps_overlay_get_type ()) +G_DECLARE_FINAL_TYPE (GtkFpsOverlay, gtk_fps_overlay, GTK, FPS_OVERLAY, GtkInspectorOverlay) + +GtkInspectorOverlay * gtk_fps_overlay_new (void); + +G_END_DECLS + +#endif /* __GTK_FPS_OVERLAY_H__ */ |