17 October 2020, 18:18 | #1 |
Registered User
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
|
High-level steps for dragging an image between 2 windows?
Goal: drag a 32x32 graphic from Window 1 to Window 2, allowing for the fact that there could be either/both a screen (background) that has to be traversed, or additional windows from this app or other apps. Goal is to have this work on WB/public screens.
Current status: I am testing with my own screen. I have the graphics set up as interleaved bitmaps + masks, and I can blit them into a window's RastPort. What would the high level steps look like for doing this? My super high level is this: 1. user initiates drag in Window 1 by holding down mouse button over an icon 2. user moves mouse to the other window 3. user ends drag by letting up mouse button Code:
+---------------------------------------------------------------+ | +--------------------+ | | | Window 1 | | | | | | | | | | | | ++ | | | | ++Start Drag | | | | X | | | | X | +----------------------------+ | | +---------X----------+ | Window 2 | | | XX | | | | XXXX | | | | XXXX | ++ | | | XXXXXX | ++ | | | XXXXXXXXXXXXXX End Drag | | | | | | | | | | | | | | | | | | | | | | | | | | | +----------------------------+ | | | |Screen | +---------------------------------------------------------------+
Blitter questions My probably-wrong interpretation of the basic idea of blitter animation:
|
12 March 2021, 18:38 | #2 |
Registered User
Join Date: Mar 2020
Location: Boulder Creek / USA
Posts: 43
|
Following this thread.
Sent from my iPhone using Tapatalk |
12 March 2021, 18:43 | #3 |
Registered User
Join Date: Mar 2020
Location: Boulder Creek / USA
Posts: 43
|
[mention]thomas [/mention] do you know how to do this?
Sent from my iPhone using Tapatalk |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a high level copperlist decoder program? | kamelito | Coders. Asm / Hardware | 10 | 02 January 2018 21:56 |
Winuae: Mount Image Floppy PC-Windows | AMIGASYSTEM | support.WinUAE | 6 | 08 October 2016 18:51 |
Windows image viewer / converter... | Echo | request.Apps | 10 | 10 January 2014 13:23 |
High-level Apps for SysSpeed | tygre | request.Apps | 8 | 01 February 2013 05:11 |
WinFellow crashes on Windows 7 with high resolutions | andreas | support.WinFellow | 7 | 25 July 2009 00:02 |
|
|