+ }*/
+ /*else if(part.get_name()=="cursor")
+ {
+ unsigned gw=part.get_width();
+ unsigned gh=(part.get_fill_y() ? geom.h : part.get_height());
+
+ const float font_size=font->get_default_size();
+ unsigned text_w=static_cast<unsigned>(font->get_string_width(text)*font_size);
+
+ GL::push_matrix();
+ GL::translate((geom.w-gw)*(value-min)/(max-min), (geom.h-gh)*(part.get_alignment().y+1)/2, 0);
+ const Graphic *graphic=part.get_graphic(state);
+ graphic->render(gw, gh);
+ GL::pop_matrix();
+ }*/