CASM slide switches

CASMSIM 0.19 finally has support for slide switches. This is currently necessary for the timer/program/run switch on the HP-55, but will also be needed for other models in the future.

The switches shown on-screen are really ugly at the moment. I’m using GTK+ radio buttons in the mode where they display as normal buttons, and I’m setting the size, but not putting any child widget in the buttons. The active button shows up as a solid white rectangle over the base image.

I experimented with trying to use pixmaps extracted from the base image, but the results looked even worse. I’ll definitely have to come up with a better solution.

Also started a model info table, so that the simulator can tell how much RAM the calculator is supposed to have. This is necessary because on the HP-55 there are two digits of address, but on the HP-45 there is only one digit, and the other is a “don’t care”.


No Responses to “CASM slide switches”  

  1. No Comments

Leave a Reply