mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-29 09:11:17 +01:00
- Bump golden_screenshot 8.2.0 -> ^11.0.1 (drops the Yaru dependency, hence the
linux plugin-registrant change).
- screenshot_test.dart now renders each scene for 6 locales (en/de/es/fr/it/pl)
via a shoot() helper, writing screenshots/<locale>/<scene>-<device>.png.
Marketing titles are translated per locale (de/es/fr/it/pl are drafts).
- main.dart: screenshotLocale global drives the app locale in screenshot mode
(was hardcoded to English).
- v11 only loads fonts found in the rendered tree, so loadAssets() runs after
the first pump.
- Virtual Shifting scene shows the gear UI instead of the "trainer doesn't
advertise FTMS" warning: added ProxyDevice.debugAttachFitnessBike (test seam,
no server side-effects) and hide the MyWhoosh gearing hint in screenshot mode.
- prepare_store_screenshots.sh maps each store locale from its language folder
(de-DE <- screenshots/de, ...).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
52 lines
3.0 KiB
C++
52 lines
3.0 KiB
C++
//
|
|
// Generated file. Do not edit.
|
|
//
|
|
|
|
// clang-format off
|
|
|
|
#include "generated_plugin_registrant.h"
|
|
|
|
#include <file_selector_linux/file_selector_plugin.h>
|
|
#include <flutter_screen_capture/flutter_screen_capture_plugin.h>
|
|
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
|
|
#include <flutter_volume_controller/flutter_volume_controller_plugin.h>
|
|
#include <gamepads_linux/gamepads_linux_plugin.h>
|
|
#include <gtk/gtk_plugin.h>
|
|
#include <media_key_detector_linux/media_key_detector_plugin.h>
|
|
#include <screen_retriever_linux/screen_retriever_linux_plugin.h>
|
|
#include <url_launcher_linux/url_launcher_plugin.h>
|
|
#include <window_manager/window_manager_plugin.h>
|
|
|
|
void fl_register_plugins(FlPluginRegistry* registry) {
|
|
g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
|
|
file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) flutter_screen_capture_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterScreenCapturePlugin");
|
|
flutter_screen_capture_plugin_register_with_registrar(flutter_screen_capture_registrar);
|
|
g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin");
|
|
flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) flutter_volume_controller_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterVolumeControllerPlugin");
|
|
flutter_volume_controller_plugin_register_with_registrar(flutter_volume_controller_registrar);
|
|
g_autoptr(FlPluginRegistrar) gamepads_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "GamepadsLinuxPlugin");
|
|
gamepads_linux_plugin_register_with_registrar(gamepads_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) gtk_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "GtkPlugin");
|
|
gtk_plugin_register_with_registrar(gtk_registrar);
|
|
g_autoptr(FlPluginRegistrar) media_key_detector_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "MediaKeyDetectorPlugin");
|
|
media_key_detector_plugin_register_with_registrar(media_key_detector_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) screen_retriever_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverLinuxPlugin");
|
|
screen_retriever_linux_plugin_register_with_registrar(screen_retriever_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
|
|
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
|
|
g_autoptr(FlPluginRegistrar) window_manager_registrar =
|
|
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowManagerPlugin");
|
|
window_manager_plugin_register_with_registrar(window_manager_registrar);
|
|
}
|