[GTK3] Rename vram_viewer.* to vram_viewer_window.*

This commit is contained in:
Maximilian Mader 2020-05-18 17:50:19 +02:00
parent 7ce7c8c404
commit a39937aeb2
Signed by: Max
GPG Key ID: F71D56A3151C4FB3
6 changed files with 7 additions and 7 deletions

View File

@ -14,7 +14,7 @@
#include "shader.h"
#include "check_menu_radio_group.h"
#include "vram_viewer.h"
#include "vram_viewer_window.h"
// used for audio and game controllers
#include "SDL.h"

View File

@ -2,7 +2,7 @@
<gresources>
<gresource prefix="/io/github/sameboy">
<file preprocess="xml-stripblanks" compressed="true">ui/window.ui</file>
<file preprocess="xml-stripblanks" compressed="true">ui/vram_viewer.ui</file>
<file preprocess="xml-stripblanks" compressed="true">ui/vram_viewer_window.ui</file>
<!--
<file preprocess="xml-stripblanks">gtk/menus.ui</file>
<file preprocess="xml-stripblanks">gtk/menus-common.ui</file>

View File

@ -3,7 +3,7 @@
#include "SDL.h"
#include "shader.h"
#include "vram_viewer.h"
#include "vram_viewer_window.h"
typedef struct{
int16_t x, y;

View File

@ -1,4 +1,4 @@
#include "vram_viewer.h"
#include "vram_viewer_window.h"
#include <stdbool.h>
#include "util.h"
@ -322,7 +322,7 @@ static void vram_viewer_finalize(GObject *object) {
}
static void vram_viewer_window_class_init(VramViewerWindowClass *class) {
gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS(class), RESOURCE_PREFIX "ui/vram_viewer.ui");
gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS(class), RESOURCE_PREFIX "ui/vram_viewer_window.ui");
gtk_widget_class_bind_template_child(GTK_WIDGET_CLASS(class), VramViewerWindow, stack);
gtk_widget_class_bind_template_child(GTK_WIDGET_CLASS(class), VramViewerWindow, tileset_palette_selector);

View File

@ -1,5 +1,5 @@
#ifndef vram_viewer_h
#define vram_viewer_h
#ifndef vram_viewer_window_h
#define vram_viewer_window_h
#include <gtk/gtk.h>
#include <Core/gb.h>