Explorar o código

Added TypeConverter for conversion from char to word - fixes Context::ProcessTextInput(String)

Kezeali %!s(int64=15) %!d(string=hai) anos
pai
achega
22aedcca59
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Include/Rocket/Core/TypeConverter.inl

+ 2 - 0
Include/Rocket/Core/TypeConverter.inl

@@ -140,6 +140,8 @@ BASIC_CONVERTER_BOOL(float, bool);
 BASIC_CONVERTER(float, int);
 BASIC_CONVERTER(float, unsigned int);
 
+BASIC_CONVERTER(char, word);
+
 /////////////////////////////////////////////////
 // From string converters
 /////////////////////////////////////////////////