X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvalue.h;h=0195db53d4fbfa87f0ec6a5e2f22c790e9571a7c;hb=5f7270118adc2dfb2ee86d869e2de55d91b557e5;hp=db2cbf375ce1e1d28a76e6af43adbc4a4c404760;hpb=12461f9a942b3736b540d68eb1ccca0f26abb268;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/value.h b/synfig-core/trunk/src/synfig/value.h index db2cbf3..0195db5 100644 --- a/synfig-core/trunk/src/synfig/value.h +++ b/synfig-core/trunk/src/synfig/value.h @@ -260,6 +260,7 @@ public: void set(const float &x) { _set(Real(x)); } void set(const list_type &x); void set(const char* x); + void set(char* x); void set(Canvas*x); void set(etl::loose_handle x); void set(etl::handle x); @@ -279,6 +280,9 @@ public: //! Returns a string containing the name of the given Type static String type_name(Type id); + //! Returns a string containing the translated name of the given Type + static String type_local_name(Type id); + //! Returns a the corresponding Type of the described type static Type ident_type(const String &str);