#define MASK_A 0xFF000000
#endif
+using namespace std; // For STL stuff
+
//
// Text edit class implementation
//
TextEdit::TextEdit(uint32 x/*= 0*/, uint32 y/*= 0*/, uint32 w/*= 0*/, uint32 h/*= 0*/,
- std::string s/*= ""*/, Element * parent/*= NULL*/):
+ string s/*= ""*/, Element * parent/*= NULL*/):
Element(x, y, w, h, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x40, 0x40, 0xFF, parent),
activated(false), clicked(false), inside(false),
img(NULL), text(s), caretPos(0), scrollPos(0),
{
}
-std::string TextEdit::GetText(void)
+string TextEdit::GetText(void)
{
return text;
}