Coder Social home page Coder Social logo

Comments (2)

morgant avatar morgant commented on June 8, 2024

I have started in on this.

I've added a System6 configuration option which is mutually exclusive with the System8 option (and will error if you try to use both at once). I also took a first pass of implementing checks for whether we're in System6 mode whenever we're checking Scr.d_depth. That gets us menus rendering correctly as monochrome (sans icons, which are rendered at the native colour depth), but windows & controls are still rendered in the System 7 grayscale style. This is because the colours are set in InitGCs() in mlvwm.c, but that gets called before ReadConfigFile(), so we don't know we're in System6 mode at the time.

At this point I see two options: re-initialize the colours (maybe by just re-running InitGCs() after ReadConfigFile(), unless that'll not free the colours and cause a memory leak) or updating all the rendering calls to render the three styles instead of just the two. I'll see if I can make the first option work reasonably first.

from mlvwm.

morgant avatar morgant commented on June 8, 2024

While calling InitGCs() after ReadConfigFile() does work as a quick-n-dirty hack, window controls and such are not actually rendered in a System 6 style (just a monochrome System 7 style. So, I need to think how far I want to take this.

from mlvwm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.