ImageButton* ImageButton::Create(Window *parent, float x, float y, const char *texture) { ImageButton *res = new ImageButton(parent); res->Move(x, y); res->SetTexture(texture, true); return res; }