Comments (6)
So, I made a really simple fix that should handle this situation. If you name your toolbar color_toolbar.bmp, it will assume it doesn't need to create its own grayscale image and use the built-in capabilities. Otherwise, it grays the image normally. This should isolate the fix to anyone who feels secure enough to name it color_toolbar. :)
See:
from mpc-hc.
Patch has been committed.
from mpc-hc.
The problem is that for most toolbars the disabled buttons look the same as the enabled ones if the current behavior is reverted. And I am not very keen on adding another option. Hiding disabled buttons may be an alternative.
That other patch is to prevent accidental clicks on the video just above the seekbar.
from mpc-hc.
Detecting if it has 'proper' data in the alpha channel might be possible too.
How did you make your modified toolbar?
from mpc-hc.
I remember I got one image from https://trac.mpc-hc.org/wiki/Toolbar_images and used Photoshop to modify by adding colors. It uses Alpha channel for delimiting buttons as recommended in that page for 32bit bmp. I still dunno what was wrong and which this commit tried to fix.
from mpc-hc.
@adipose Works great, thank you!
from mpc-hc.
Related Issues (20)
- RTX VSR + System setting "Automatically manage color for apps" causes videos to look dim HOT 1
- In version 2.3.0, OSD not displayed when player is running in `D3D Fullscreen` mode. HOT 10
- mpc-hc64.ini / mpc-hc.ini missing comma (Polish language) HOT 1
- Can't open more than 15 MP3 files at once. HOT 1
- Streamlink broken after MPC-HC.2.2.1.39.x64 HOT 2
- [Feature Request] Hotkey for vertical alignment
- DVB Subtitles not available HOT 11
- AVS3 support HOT 1
- COSD::CreateFontInternal() crash HOT 1
- Hardware controls no longer work HOT 3
- VirusTotal - Detects Win.MxResIcn.Heur.Gen (MPC-HC.2.3.0.x64.exe) HOT 1
- Favorites HOT 1
- Libass subs get messed up if video stretched horizontally
- Twitter MP4 clip shows no video, durations are wrong and sound is a sharp chirp. Video works in other players HOT 2
- [Bug] MPC-HC hangs on avs scripts HOT 13
- Is there a way to load external subtitles on a .ISO file? HOT 1
- Replay black screen HOT 1
- MPC goes to background when minimized in Windows 11 HOT 4
- Extract video frames option HOT 1
- FullscreenSeparateControls disables /fullscreen command-line switch HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpc-hc.