Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make the the title bar not too dark #1

Closed
Specifix5 opened this issue Oct 7, 2021 · 9 comments
Closed

How to make the the title bar not too dark #1

Specifix5 opened this issue Oct 7, 2021 · 9 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Specifix5
Copy link

So instead of 0,0,0 i want it to be something like 20,20,20 argb, any way to do this?

@Specifix5
Copy link
Author

image
I want it to give a feeling so it matches with the color scheme

@Aldaviva
Copy link
Owner

Aldaviva commented Oct 7, 2021

Hello @Specifix5, great question.

  • Windows 10: not possible; the only options are black or white.
  • Windows 11: should be possible to set a custom color using DWMWA_CAPTION_COLOR. Currently there is some ongoing discussion about which API methods to use and how they are documented. I was waiting for a resolution to that issue before figuring out how to port the functionality to DarkNet.

@Specifix5
Copy link
Author

Alright, thanks for the advice. I'm gonna look forward to that.

@Mgamerz
Copy link

Mgamerz commented Jul 30, 2023

Are there any updates on the colors by any chance?

@Aldaviva
Copy link
Owner

Thanks for the reminder, let me see if I can figure out how to do this.

@Aldaviva
Copy link
Owner

Seems to work so far.

image

@Aldaviva
Copy link
Owner

You can try out DarkNet.zip\DarkNet.2.3.0.nupkg\lib\*\DarkNet.dll from CI build 25. The documentation has been updated too.

Added optional ThemeOptions parameter to methods:

DarkNet.Instance.SetWindowThemeWpf(this, Theme.Dark, new ThemeOptions {
    TitleBarTextColor       = Color.MidnightBlue,
    TitleBarBackgroundColor = Color.PowderBlue,
    WindowBorderColor       = Color.DarkBlue
});

@Aldaviva
Copy link
Owner

At long last, Windows 11 gives us the tools to more faithfully recreate Windows 3.1's Hotdog Stand color scheme.

image

Windows 3.1 Hotdog Stand scheme

@Aldaviva
Copy link
Owner

Now we're gaming.

Recording.2023-07-30.204632.mp4

@Aldaviva Aldaviva self-assigned this Jul 31, 2023
@Aldaviva Aldaviva added the enhancement New feature or request label Jul 31, 2023
@Aldaviva Aldaviva added this to the 2.3.0 milestone Jul 31, 2023
@Aldaviva Aldaviva closed this as completed Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants