06-05-2007, 11:01 PM
After reading information on drawing functions, I tried this
Code:
ww=180 --window width
wh=200 --window height
w=fltk:Fl_Window(ww,wh,"murgaLua Drawing Demo")
w:color(55)
-- fltk void fl_color(Fl_Color)
--- Set the color for all subsequent drawing operations.
fltk.fl_color(96)
-- fltk void fl_rectf(int x, int y, int w, int h)
--- Color a rectangle that exactly fills the given bounding box.
fltk.fl_rect(20,20,50,50)
w:show()
Fl:run()
This doesn't do anything. Not implemented yet? I had come across a list of stuff not implemented yet but cannot find it again.