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)
- Always on top, no focused and seek Video preview while Playlist window on cause glitch
- Blu ray menus HOT 1
- upscaling with MPC Video Render HOT 1
- 2.3.3 File deletion prompt wording?
- Several context menus theming issues HOT 2
- [yt-dlp] can't play a specific video, even though yt-dlp can download it HOT 1
- Abnormal playback of TS format files HOT 1
- Better audio and subtitle switching
- Linux support
- video frezzing and crash this is the error HOT 3
- Confirmation prompt in 2.3.3 HOT 3
- Multiple Subtitle Problem (.SMI) HOT 1
- "The modern theme volume slider" HOT 1
- Crashes when trying to resume playback of H.266/VVC videos HOT 3
- Recent file list management
- Add position submenu in playlist context menu
- Make it possible to convert m3u8 and mpd HOT 1
- AAC LC no sound HOT 15
- Suggestion: visualize the filename of file playing in the seekbar HOT 1
- Incorrect libass rendering arabic language HOT 4
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.