#include <LEDA/graphics/window.h>
#include <LEDA/graphics/bitmaps/button32.h>
using namespace leda;
int main()
{
panel P("Bitmap Buttons");
P.buttons_per_line(8);
P.set_button_space(3);
for (int i=0;i<num_xbm_button32;i++)
P.button(32,32,xbm_button32[i],string(name_xbm_button32[i]));
int button=P.open();
return 0;
}
|