undo implemented and working fine
This commit is contained in:
@@ -2,9 +2,12 @@ signature DRAW_MESSAGE =
|
||||
sig
|
||||
datatype t =
|
||||
DRAW_BUTTON of Real32.real vector
|
||||
| DRAW_TRIANGLES_AND_BUTTONS of
|
||||
{triangles: Real32.real vector, buttons: Real32.real vector}
|
||||
| DRAW_TRIANGLES_AND_RESET_BUTTONS of Real32.real vector
|
||||
| RESIZE_TRIANGLES_BUTTONS_AND_GRAPH of
|
||||
{triangles: Real32.real vector, graphLines: Real32.real vector}
|
||||
| CLEAR_BUTTONS
|
||||
| NO_DRAW
|
||||
end
|
||||
|
||||
@@ -12,8 +15,11 @@ structure DrawMessage :> DRAW_MESSAGE =
|
||||
struct
|
||||
datatype t =
|
||||
DRAW_BUTTON of Real32.real vector
|
||||
| DRAW_TRIANGLES_AND_BUTTONS of
|
||||
{triangles: Real32.real vector, buttons: Real32.real vector}
|
||||
| DRAW_TRIANGLES_AND_RESET_BUTTONS of Real32.real vector
|
||||
| RESIZE_TRIANGLES_BUTTONS_AND_GRAPH of
|
||||
{triangles: Real32.real vector, graphLines: Real32.real vector}
|
||||
| CLEAR_BUTTONS
|
||||
| NO_DRAW
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user