mirror of
https://github.com/rive-app/rive-cpp.git
synced 2026-01-18 21:21:17 +01:00
ScriptedDataConverters in C++ runtime. Adds a new DataType.any which allows a datavalue to be applied as long as the propertyKey type matches the datavalue's type. Co-authored-by: Philip Chung <philterdesign@gmail.com>
22 lines
528 B
C++
22 lines
528 B
C++
#ifndef _RIVE_SOLO_HPP_
|
|
#define _RIVE_SOLO_HPP_
|
|
#include "rive/generated/solo_base.hpp"
|
|
namespace rive
|
|
{
|
|
class Solo : public SoloBase
|
|
{
|
|
public:
|
|
void activeComponentIdChanged() override;
|
|
StatusCode onAddedClean(CoreContext* context) override;
|
|
bool collapse(bool value) override;
|
|
void updateByIndex(size_t index);
|
|
void updateByName(const std::string& name);
|
|
int getActiveChildIndex();
|
|
std::string getActiveChildName();
|
|
|
|
private:
|
|
void propagateCollapse(bool collapse);
|
|
};
|
|
} // namespace rive
|
|
|
|
#endif |