diff options
author | Ian C <ianc@noddybox.co.uk> | 2020-06-13 16:49:31 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2020-06-13 16:49:31 +0000 |
commit | feaf4c4a99c6f66eaa22cb62440dc4be1377e3ad (patch) | |
tree | b721d1331b75a05895f16b4f3e681b803d1c7be5 /mwidget.mod/mwidget.bmx | |
parent | 89a5e41d2bffe9322029168c74d973be853a3279 (diff) |
Diffstat (limited to 'mwidget.mod/mwidget.bmx')
-rw-r--r-- | mwidget.mod/mwidget.bmx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mwidget.mod/mwidget.bmx b/mwidget.mod/mwidget.bmx index f2858e0..1770790 100644 --- a/mwidget.mod/mwidget.bmx +++ b/mwidget.mod/mwidget.bmx @@ -2355,6 +2355,13 @@ Type TMCanvas Extends TMWidget Method SetupGraphics()
SetGraphics(CanvasGraphics(gadget))
End Method
+
+ Rem
+ bbdoc: Get the underlaying gadget scale factor
+ EndRem
+ Method ScaleFactor:Int()
+ Return GadgetScaleFactor(gadget)
+ End Method
Rem
bbdoc: Called when the canvas should be redrawn.
@@ -2785,7 +2792,7 @@ Type Static Next
If Not handled
- If e.id = 259
+ If e.id = EVENT_APPTERMINATE
If top
top.Close()
Else
|