GithubHelp home page GithubHelp logo

metalbone's People

Contributors

warwithinme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

metalbone's Issues

ToolTipWidget hide quickly after showing.

When this happen:
The demo window is a normal window( not layeredwindow ), and use Skia as backend and use GDI to draw the text.

It's because after showing the ToolTipWidget, we quickly received WM_ACTIVATEAPP with wparam == FALSE. But I have no idea why it shows.

GDI++ Rendering makes text transparent

Drawing the text by using plain old GDI (with GDI++ hooking, i.e. GDI++ is actually drawing the text) on a dc, the corresponding pixel's alpha channel will be 0.

If the window is a layered window, the text will be holes that you can see through it.

I'm thinking drawing the text with GDI+ only.

Window will not show after minimized.

It is because it doesn't deal well with the WM_ACTIVATEAPP message. So, sometimes, when we press Win+D to show the Desktop, and then clicking the app icon in the taskbar or pressing Alt+Tab will not show the Window.

Shadow is outlined in D2D text.

If the shadow color is not opaque, we will see the outline of the shadow.
We can however render the opaque shadow to a bitmap then render the bitmap to the
rendertarget with opacity applied.

LayeredWindow and WM_PAINT message issue.

All message goes directly with the layeredwindow handle, instead of the dummy handle. So when we request repainting for our layeredwindow, we will always redrawn immediately.

But I want that repaint only occurs when the message queue is empty.

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.