signaldust / dust-toolkit Goto Github PK
View Code? Open in Web Editor NEWSignaldust application toolkit for C++
Signaldust application toolkit for C++
Should replace the WM_DROPFILES thing on Windows with a proper IDropTarget so that we can have enter/move/exit. On macOS we already technically have these, even though not using them yet.
Once IDropTarget is done, we can send a new mouse event (probably call it tDragFiles) on enter/move (and ev_mouse_exit on exit), track which panel accepts the tDragFiles event and then query that panel whether it really wants files, or just wants to block the event from bubbling... and then do away with the stuff in delegate.
sys_win32.cpp is probably leaking popup menus right now ... fix should be just to call DestroyMenu after TrackPopupMenu, so I should try to remember to fix this next time I'm on a Windows system (so I can sanity check that it doesn't break anything).
Naming of some of the blend modes is so bad it should really be treated as a bug..
Open / Save dialogs apparently change CWD on Windows, which causes issues with Dusted which relies on CWD for project directory.
Kludge fix by storing/restoring CWD around calls to file dialogs?
This has been a problem for a while: in order to get titlebar to match whatever color theme is used inside the window, we draw fullSizeContentView with titlebarAppearsTransparent which since 10.11(?) stops titlebar dragging from working.
This is already worked around for the titlebar itself in mouseDown: by initiating drag or zoom when the mouse is in the titlebar region, but if the NSWindow has an actual title text then this text-label seems to consume the mouse event, probably passing it down to the hidden titlebar which discards the event? Setting the window moveableByBackground does not help this.
So... it might be necessary to just drop the native title text as well (or at least hide it?) and then draw the text in the toolkit, but I'd kinda really prefer to keep the original title text and find a workaround for the dragging thing instead... but perhaps there truly is no suitable API?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.