improve generated graph lines, so it aligns perfectly with clickPoints (but there are two 'todo' notes: one when the height is greather than the width, and also the constant vector when the program starts is an empty vector)
This commit is contained in:
@@ -3,6 +3,8 @@ sig
|
||||
datatype t =
|
||||
DRAW_BUTTON of 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}
|
||||
| NO_DRAW
|
||||
end
|
||||
|
||||
@@ -11,5 +13,7 @@ struct
|
||||
datatype t =
|
||||
DRAW_BUTTON of 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}
|
||||
| NO_DRAW
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user