GithubHelp home page GithubHelp logo

signaldust / dust-toolkit Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 1.0 3.28 MB

Signaldust application toolkit for C++

Makefile 0.64% C++ 91.90% C 0.67% Batchfile 0.02% Objective-C++ 6.44% Shell 0.32%
gui toolkit

dust-toolkit's People

Contributors

signaldust avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dust-toolkit's Issues

Drag&drop feedback

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.

TrackPopupMenu -> DestroyMenu

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 blend modes

Naming of some of the blend modes is so bad it should really be treated as a bug..

macos: title drag doesn't work from title text

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.