Draw a pixel: Difference between revisions

Content added Content deleted
(Added Forth entry)
m (→‎{{header|Phix}}: IupCloseOnEscape no longer needed)
Line 1,411: Line 1,411:
IupSetAttribute(dlg, "TITLE", "Draw a pixel")
IupSetAttribute(dlg, "TITLE", "Draw a pixel")
IupSetCallback(canvas, "ACTION", Icallback("redraw_cb"))
IupSetCallback(canvas, "ACTION", Icallback("redraw_cb"))
IupCloseOnEscape(dlg)
IupShow(dlg)
IupShow(dlg)
IupMainLoop()
IupMainLoop()