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

Slic3r Solarized - Background Color of Layers-Tab missing? #4296

Closed
foreachthing opened this issue Feb 12, 2018 · 7 comments
Closed

Slic3r Solarized - Background Color of Layers-Tab missing? #4296

foreachthing opened this issue Feb 12, 2018 · 7 comments

Comments

@foreachthing
Copy link
Member

Version

1.3 beta

Issue

I'm working on "solarizing" (http://ethanschoonover.com/solarized) Slic3r and can't find where I need to adjust the background color of the Layers tab. Any hint is appreciated.
Everything else was pretty "easy" - if you know/knew Perl! Still work in progress: https://github.com/foreachthing/Slic3r/tree/Solarized

Screenshots

Preview Tab:
image

Layers Tab:
The only thing I'm missing, is the background color. Everything else I got (not visible here).
image

@lordofhyphens
Copy link
Member

Take a look at 3DScene.pm. If you want to port the C++ 3DScene from the Prusa fork then I'd happily accept it.

@lordofhyphens
Copy link
Member

I'd also accept a PR for solarizing if you can make it an optional change in the preferences.

@foreachthing
Copy link
Member Author

Yes, in 3DScene, I was able to change the background for 3D and Preview. Then in 2d.pm I could change the 2D background. But the Layers ... !?
Ok... I need to take a look at the Prusa fork first. And yes, it's optional already ;-)

@foreachthing
Copy link
Member Author

foreachthing commented Feb 14, 2018

I don't know .... I can't find it. I got the slider backcolor on Layers changed, though.
It's like, it's not there for the grasp.
Does anybody see where I can change the background color of Layers?

image

@foreachthing foreachthing changed the title Background Color of Layers (Tab) Slic3r Solarized - Background Color of Layers-Tab missing? Feb 14, 2018
@lordofhyphens
Copy link
Member

The Layers tab is drawn in 3D mode from my investigations.

You are interested in the glClearColor call in sub Render in 2DToolpaths.pm.

For glClearColor(0.3, 0.4, 0.1, 0);
image

@lordofhyphens
Copy link
Member

http://prideout.net/archive/colors.php for your reference.

@lordofhyphens
Copy link
Member

You will also need to apply the same color to the individual line drawings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants