Commit Graph

117 Commits

Author SHA1 Message Date
Joshua Bell
daf6e87aec Rename the icon management logic in Aux 'Icon ToolKit' 2019-07-28 16:54:06 -07:00
Joshua Bell
24d318c274 Disasm: icon offset logic 2019-07-28 15:24:36 -07:00
Joshua Bell
157c6a3f0c Add MGTK Font file support for Preview.
Correct docs for some DeskTop icon APIs, and improve resilience of
some of the APIs to having atypical grafports selected when called.
2019-07-26 20:44:22 -07:00
Joshua Bell
6e96eae7ed DeskTop: Fix highlighting when dragging over icons. Fixes #163
The DeskTop library routines for handling icons switched GrafPorts
in a fragile way, which previous changes had broken. Updates to
the volume icon clipping code left the GrafPort used for icon
drawing clipped, and it was not restored correctly before subsequent
file icons were drawn.

Ensure the correct grafports are used everywhere, and reset them
when necessary. Further simplification is possible.
2019-07-23 21:07:53 -07:00
Joshua Bell
e8a9add613 Correct icon clipping while dragging. Fixes #162
When dragging a selection over a desktop icon, the clipping rect of
the GrafPort used for drawing the outline would be changed. Broken
at some point, but probably only worked by accident. (Zero page fun?)

Introduce a dedicated grafport for drawing the outline.

Also, add some macros for pushorg/poporg
2019-07-22 21:14:20 -07:00
Joshua Bell
39260141e8 DeskTop: Streamline File menu; repurpose Apple-W shortcut. Fixes #154 2019-05-09 21:43:51 -07:00
Joshua Bell
5efade0c6e DeskTop: Fix for icon redraw lockup #153 2019-05-09 20:56:36 -07:00
Joshua Bell
dae33abc9a DeskTop: rename 'View > as Icons' menu item 2019-05-05 20:28:52 -07:00
Joshua Bell
aa9194ad3f DeskTop: Improve window bounds calc for icon clipping. Fixes #152
The logic for computing window bounds started with the cliprect
returned by GetWinPort. But if the window content area is offscreen
that rect is invalid. Instead, use the Winfo's position/size records.

Also, significantly simplify the math used to account for borders,
title bars and scroll bars.
2019-04-25 21:25:58 -07:00
Joshua Bell
ba8c5a7383 DeskTop: Bump version/date 2019-04-03 19:35:38 -07:00
Joshua Bell
1189a3a275 bump version/date 2019-04-02 21:21:07 -07:00
Joshua Bell
0978840c10 MGTK: Add GetDeskPat/SetDeskPat commands 2019-02-24 11:44:50 -08:00
Joshua Bell
17184ec4d2 Rework icon drawing to eliminate selection fuzz outside mask 2019-02-23 22:06:39 -08:00
Joshua Bell
b6bcb03a04 Show Apple icon for Desk Accessory files, allow running (Fixes #101. Fixes #116.) 2019-02-22 20:21:58 +11:00
Joshua Bell
ad75a611a6 Fix progress/confirmation dialog clearing rects. Issue #126 2019-02-17 14:31:12 +11:00
Joshua Bell
9d623520c8 Rename 'down load' what it is: 'Copy to RAMCard' 2019-02-09 21:19:16 -08:00
Joshua Bell
e92822eb8d Adjust vertical spacing in various dialogs (Issue #126)
* About
* Confirmation and progress dialogs (copy/delete/lock/unlock etc)
* Format/Erase disk
2019-02-08 20:26:17 -08:00
Joshua Bell
1bb9388d32 Merge remote-tracking branch 'origin/disasm' 2019-02-08 19:07:04 -08:00
Joshua Bell
0c8835e6cf disasm: dialog positions 2019-02-08 19:04:29 -08:00
Joshua Bell
9a3463f37e Make same-volume drags moves, not copies (by default). Fixes #8 2019-02-03 20:07:59 -08:00
Joshua Bell
24f1b2e993 Merge remote-tracking branch 'origin/disasm' 2019-02-02 20:38:00 -08:00
Joshua Bell
3c14dfe9d1 rects 2019-02-02 20:37:15 -08:00
Joshua Bell
c2a264901c bump date 2019-02-02 12:47:26 -08:00
Joshua Bell
5238769934 Merge remote-tracking branch 'origin/disasm' 2019-01-29 08:25:06 -08:00
Joshua Bell
ca1f232c1f disasm: Sort Dir DA stack fun; copy dialog resources/proc 2019-01-29 08:24:23 -08:00
Joshua Bell
3787ed24d7 Fix volume icon clipping bugs. Fixes #117 2019-01-27 19:47:08 -08:00
Joshua Bell
f792fd374d Merge remote-tracking branch 'origin/disasm' 2019-01-26 19:51:23 -08:00
Joshua Bell
4c64c5caad disasm: clipping comments 2019-01-26 19:51:12 -08:00
Joshua Bell
e30b793028 Merge remote-tracking branch 'origin/disasm' 2019-01-26 10:38:57 -08:00
Joshua Bell
250ba76c91 disasm: clipping comments 2019-01-26 10:38:51 -08:00
Joshua Bell
82fdd421eb Merge remote-tracking branch 'origin/disasm' 2019-01-26 10:34:31 -08:00
Joshua Bell
79a3aaf27e disasm: clipping comments 2019-01-26 10:34:13 -08:00
Joshua Bell
331d2bdf6f Merge remote-tracking branch 'origin/disasm' 2019-01-25 18:30:05 -08:00
Joshua Bell
c2f58620e5 disasm: volume icon clipping 2019-01-25 18:29:42 -08:00
Joshua Bell
63de8287a7 disasm: volume icon clippping/window props 2019-01-25 08:17:30 -08:00
Joshua Bell
c1673a5de6 disasm: volume icon clippping/window props 2019-01-25 00:14:45 -08:00
Joshua Bell
8b738798f4 disasm: vol icon clipping 2019-01-24 08:35:43 -08:00
Joshua Bell
ed004f9bf7 Refine 'page' icon shapes and mask 2019-01-21 20:28:31 -08:00
Joshua Bell
a8599e5c68 Add "Preview DAs", allow opening text/graphics directly (Issue #101) 2019-01-21 12:35:43 -08:00
Joshua Bell
525681931f Use common bell routine (from main/overlays) 2019-01-20 11:41:49 -08:00
Joshua Bell
560418779a Drop redundant penmode table 2019-01-20 11:03:39 -08:00
Joshua Bell
7502d6f592 Drop unnecessary MGTK relay/usage 2019-01-19 14:49:56 -08:00
Joshua Bell
1e80673273 Merge remote-tracking branch 'origin/disasm' 2019-01-19 09:43:57 -08:00
Joshua Bell
ca15759620 disasm: Rename LC relays from SHOUTY_CAPS to TitleCase 2019-01-19 09:40:43 -08:00
Joshua Bell
5197aa83fc Free up more res space; pad with xx's for easier hole finding 2019-01-17 21:27:56 -08:00
Joshua Bell
8132a8c8f0 Merge remote-tracking branch 'origin/disasm' 2019-01-16 21:11:11 -08:00
Joshua Bell
78dc563020 disasm: Icon painting 2019-01-16 21:04:07 -08:00
Joshua Bell
120c9bac55 Icon for AppleTalk file shares. Fixes #88 2019-01-16 20:26:57 -08:00
Joshua Bell
c8cc3bde53 Use proper masks for desktop (volume) icons 2019-01-15 23:36:00 -08:00
Joshua Bell
d81e18a228 re-use save area constant 2019-01-15 21:20:30 -08:00