rename plugin from PolyvoxFilament to FlutterFilament
rename plugin from PolyvoxFilament to FlutterFilament
This commit is contained in:
@@ -4,10 +4,10 @@ project(runner LANGUAGES CXX)
|
||||
|
||||
# The name of the executable created for the application. Change this to change
|
||||
# the on-disk name of your application.
|
||||
set(BINARY_NAME "polyvox_filament_example")
|
||||
set(BINARY_NAME "flutter_filament_example")
|
||||
# The unique GTK application identifier for this application. See:
|
||||
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
|
||||
set(APPLICATION_ID "app.polyvox.polyvox_filament")
|
||||
set(APPLICATION_ID "app.polyvox.flutter_filament")
|
||||
|
||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
||||
# versions of CMake.
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
|
||||
#include "generated_plugin_registrant.h"
|
||||
|
||||
#include <polyvox_filament/polyvox_filament_plugin.h>
|
||||
#include <flutter_filament/flutter_filament_plugin.h>
|
||||
|
||||
void fl_register_plugins(FlPluginRegistry* registry) {
|
||||
g_autoptr(FlPluginRegistrar) polyvox_filament_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "PolyvoxFilamentPlugin");
|
||||
polyvox_filament_plugin_register_with_registrar(polyvox_filament_registrar);
|
||||
g_autoptr(FlPluginRegistrar) flutter_filament_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterFilamentPlugin");
|
||||
flutter_filament_plugin_register_with_registrar(flutter_filament_registrar);
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
list(APPEND FLUTTER_PLUGIN_LIST
|
||||
polyvox_filament
|
||||
flutter_filament
|
||||
)
|
||||
|
||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||
|
||||
@@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) {
|
||||
if (use_header_bar) {
|
||||
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
||||
gtk_widget_show(GTK_WIDGET(header_bar));
|
||||
gtk_header_bar_set_title(header_bar, "polyvox_filament_example");
|
||||
gtk_header_bar_set_title(header_bar, "flutter_filament_example");
|
||||
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
||||
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
||||
} else {
|
||||
gtk_window_set_title(window, "polyvox_filament_example");
|
||||
gtk_window_set_title(window, "flutter_filament_example");
|
||||
}
|
||||
|
||||
gtk_window_set_default_size(window, 1280, 720);
|
||||
|
||||
Reference in New Issue
Block a user