| 1 |
template <> struct Convert< MyGUI::#{ThisType}*> |
| 2 |
{ |
| 3 |
typedef MyGUI::Widget* Type; |
| 4 |
inline static Type To(MyGUI::#{ThisType}* _value) |
| 5 |
{ |
| 6 |
return _value; |
| 7 |
} |
| 8 |
inline static MyGUI::#{ThisType}* From(Type _value) |
| 9 |
{ |
| 10 |
return static_cast<MyGUI::#{ThisType}*>(_value); |
| 11 |
} |
| 12 |
}; |