mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00

- Variants allows to restyle custom objects - They can be customized with the graphical editor - The asset store will progressively use them notably for UI elements (buttons, sliders)
26 lines
606 B
C++
26 lines
606 B
C++
/*
|
|
* GDevelop Core
|
|
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights
|
|
* reserved. This project is released under the MIT License.
|
|
*/
|
|
#pragma once
|
|
|
|
namespace gd {
|
|
class EventsBasedObject;
|
|
class Project;
|
|
} // namespace gd
|
|
|
|
namespace gd {
|
|
|
|
class GD_CORE_API EventsBasedObjectVariantHelper {
|
|
public:
|
|
/**
|
|
* @brief Apply the changes done on events-based object children to all its
|
|
* variants.
|
|
*/
|
|
static void
|
|
ComplyVariantsToEventsBasedObject(const gd::Project &project,
|
|
gd::EventsBasedObject &eventsBasedObject);
|
|
};
|
|
|
|
} // namespace gd
|