items.push_back(MenuItem());
items.back().init(MenuItem::IMAGEBUTTON,id,"",texture,x,y,w,h,r,g,b);
}
void Menu::addMapLine(int x, int y, int w, int h, float startsize, float endsize, float r,float g,float b){
items.push_back(MenuItem());
items.push_back(MenuItem());
items.back().init(MenuItem::IMAGEBUTTON,id,"",texture,x,y,w,h,r,g,b);
}
void Menu::addMapLine(int x, int y, int w, int h, float startsize, float endsize, float r,float g,float b){
items.push_back(MenuItem());