frame


cadre


image
menu        message
voir

frame

frame(x1,y1,x2,y2)

       Trace the frame of which two opposite vertices are (x1, y1) and (x2, y2).
Options:
illum(r,g,b): color (r,g,b) (white default).
dim(d): thickness d (1 default).
mouse: returns the coordinates of the point clicked inside the frame, otherwise returns NIL.
mouse normal: returns the normalized coordinates (origin top left) the clicked point inside the frame, otherwise returns NIL.

frame image

frame(x1,y1,x2,y2)image(id)

Draws frame (x1,y1,x2,y2) in image id.
Options:
alea(a): reproductible random value a (1 default).
col(r,v,b,a) color (r,v,b,a) (1,1,1,0 default).
rand(r): non reproductible random value r (1 default).

frame menu

frame menu("MEN")

Returns the color of the frames menu MEN.

frame menu("MEN")=r,g,b,...

Changes this color. Si r<0: no frame.

frame message

frame message(id)

Returns the color of the frames message id.

frame message(id)=r,g,b

Changes this color. Si r<0: no frame.

frame see

frame see

        Returns the color of the window frame see.

frame see=r,g,b

        see.