Files
rive-cpp/include/rive/solo.hpp
philter 74bdfa7697 chore: ScriptedDataConverter in runtime (#11053) 05e1b4ab9f
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>
2025-11-17 18:30:48 +00:00

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