I want dockable windows
BlitzMax Forums/MaxGUI Module/I want dockable windows
| ||
I want dockable windows for a pretty advanced interface. |
| ||
Looking forward to see your implementation :-) |
| ||
Here you go:![]() |
| ||
![]() |
| ||
But seriously though Wouldn't you just have to do some poly checks using the window boundaries as poly coordinates. Then just look for collisions against windows marked as dockable? |
| ||
Wouldn't you just have to do some poly checks using the window boundaries as poly coordinates. Then just look for collisions against windows marked as dockable? ??????????? |
| ||
Sorry.. my GUI allows for rotation so everything is polygons to me LOL You could just check right/left proximities of the window edge or other windows while they are dragging. Then specifically move it once the mouse is let go... you could even draw a ghost rectangle where it will go when the mouse is let go to key the user that it will happen. |
| ||
Maybe it easier to do with 'panels' than with windows (as these should be controlled by the OS). In any case you should retrieve the positions/size of any other windows present in the desktop (not only that one created by BM/MaxGUI) so things starts to be wild (in my opinion). |
| ||
Use wxMax, it has that capability built right in... |
| ||
I think wxMax is abandoned: http://blitzmax.com/Community/posts.php?topic=89279 |
| ||
I think wxMax is abandoned As far as I am aware, that statement is incorrect. |
| ||
My mistake. |
| ||
Sorry.. my GUI allows for rotation so everything is polygons to me LOL You could just check right/left proximities of the window edge or other windows while they are dragging. Then specifically move it once the mouse is let go... you could even draw a ghost rectangle where it will go when the mouse is let go to key the user that it will happen. ?????????????????????? I think this is about MaxGUI... |
| ||
You thought correctly. |