Comments (2)
Sorry it's been a while! Do you have any insight in what I should for this one?
from classic-colors.
I think the XPM icon format can take in colors from the background widget, i learned about this quark from looking at CDE backgrounds, an example would be "Conclave.pm".
As for a possible fix, i have a one-color pixmap, but don't know yet of how to insert pixmaps into widgets in motif yet; as for the file, i think it has to be hand-written, which is actualy possible(if cumbersome) with the XPM file format. As for a possible fix, i have hand edited a outputted XPM file to see if i could find a fix of sorts here, if it does not work, edit "background" to "foreground":
/* XPM */
static char *icon_color[] = {
/* columns rows colors chars-per-pixel */
"32 32 1 1",
" s background c none",
/* pixels */
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};
And if that does not work, a storage hungry solution of multiple single color pixmaps would be needed i'm afraid (to the best of my knowledge here, again i'm also learning how motif ticks with this project on the fly here).
Edit: i think the trick on the colorbox icons would be of obtaining the colored background or foreground of the color buttons. See how Xgrace implements buttons as the buttons never change background color, which would be needed if somebody decided to use a pixmap as a background in X11.
from classic-colors.
Related Issues (20)
- Font window doesn't work well with a tiling window manager. HOT 2
- Bad visual check in ui_draw.c HOT 3
- Add support for anti-aliased fonts in user interface HOT 14
- Provide better instructions for increasing shared memory size on Mac, in order to support MIT-SHM HOT 1
- Tool option list is not always the correct size.
- Sugestion: use extended Motif file selection box instead of the standard one HOT 6
- Loading .bmp crashes classic-colors HOT 1
- Problems compiling with pkgsrc HOT 4
- Wont build on NetBSD HOT 4
- Handle escape key to cancel tool operations
- Zoom center of focus is sometimes wrong and annoying.
- Flood fill should use stack instead of a queue HOT 1
- HTML help installation should use the specified prefix in the configure/make build step.
- Assertion polygon critical values
- cc_undo_queue_trim assertion failure
- window may open larger than available display resolution
- openbsd gcc -O3
- Improve motif detection in configure script HOT 1
- inability to compile on macbook m1 HOT 14
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 classic-colors.