Jump to content

Plot coordinate pairs: Difference between revisions

m
Line 1,903:
cdCanvasSetBackground(cddbuffer, CD_WHITE)
return IUP_DEFAULT
end function
 
function esc_close(Ihandle /*ih*/, atom c)
if c=K_ESC then return IUP_CLOSE end if
return IUP_CONTINUE
end function
 
Line 1,919 ⟶ 1,914:
dlg = IupDialog(canvas)
IupSetAttribute(dlg, "TITLE", "Plot coordinate pairs")
IupCloseOnEscape(dlg)
IupSetCallback(dlg, "K_ANY", Icallback("esc_close"))
IupSetCallback(canvas, "ACTION", Icallback("redraw_cb"))
 
7,806

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.