Commit graph

13 commits

Author SHA1 Message Date
Christophe de Dinechin
838938336e menus: Place ListMenu as a keyboard-accesisble menu
Remove the `DataMenu`.

Replace `PrintMenu` with `ListMenu` as keyboard-accessible menu
(we can tuck the rarely used `PrintMenu` under `I/O`)

Add list product, sum, etc to `ListMenu`

Modify `ProgramMenu` to add special program entry characters.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2024-03-28 23:51:08 +01:00
Christophe de Dinechin
fe7d455cbb keyboard: Change 'CST' label to 'CONST'
On the HP48X, `CST` really stands for `CUSTOM`.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-10-15 22:13:49 +02:00
Christophe de Dinechin
258293b73b ui: Add = support in equations
The `R/S` key turns into an equal sign `=` within an equation.

Fixes: #400

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-10-08 11:43:16 +02:00
Christophe de Dinechin
cd597da7a7 keyboard: Make labels easier to read
Use a ligher yellow colour for menu labels, closer to DM42.
Enlarge the fonts for alpha secondary labels.
Position secondary labels horiwontally, except on ENTER and Backspace.

Fixes: #389

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-10-06 12:18:29 +02:00
Christophe de Dinechin
68c9aeb076 keyboard: A few additional minor tweaks.
A few additional tweaks to the keyboard layout, mostly to get
something that looks nicer in the simulator.

Fixes: #389

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-10-05 18:51:39 +02:00
Christophe de Dinechin
6ef60bdf32 simulator: Redraw DM48X keyboard
Redraw keyboard with a darker shade matching DM42.
Also draw all keyboard elements using the same font.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-10-05 18:51:39 +02:00
Christophe de Dinechin
2853fd1119 keyboard: Map shift-0 to graphics menu
The `EDIT` key is already largely availalbe from the right key.
We don't need another key to map it.
Having the `GraphicsMenu` next to `Show` seems mnemomic enough
on the DM42.

Fixes: #393

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-10-03 23:01:47 +02:00
Christophe de Dinechin
9206673f6f keyboard: Swap 'exp' and 'log' keys
Make the keyboard layout very slightly more efficient by putting `exp'
as a primary key, instead of a shifted key.

This is the first keyboard change that is deliberately incompatible
with the DM42.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-10-03 21:09:15 +02:00
Christophe de Dinechin
7e10908d53 Update keyboard layout
- Replace ROOT menu with POLY, this is really for polynom operations
- Replace -> at right of MODES with OBJ, it's really object operations

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-10-03 20:23:13 +02:00
Christophe de Dinechin
0cdbe65a59 keys: Update key layout for easier matrix/vector entry
Map shift-9 to enter matrices and vector, and delegate `MatrixMenu` to
secondary shift. The `MatrixMenu` is easy to access through the
`ToolMenu` anyway as soon as a matrix is on the stack, so having a
single-shifted menu is not that important.

Fixes: #198

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-07-25 19:22:05 +02:00
Christophe de Dinechin
34a28408bf keyboard: Incorporate some feedback from the C47 team
Incorporate some feedback from the C47 team:
- Credit graphics designer DA MacDOnald
- Adjust layout of the square / double square for shift key
- Fix typo "Sick" -> "Stick"

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
Suggested-by: Jaco Mostert <jaco@cocoon-creations.com>
2023-07-21 23:03:50 +02:00
Christophe de Dinechin
bfab7ddb28 keyboard: Replace RCL with VARS on keyboard layout
Update the keyboard layout to replace `RCL` with `VARS`.
Also add a "Back menu" on shift-A, and moved MATH as xshift-I (where there
was a duplicate STACK menu).
Also noticed that the CLEAR menu is where DEL is while editing. That's
probably OK.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-07-19 11:27:26 +02:00
Christophe de Dinechin
64916d9af0 keyboard: Udpate layout to match experiments with complex numbers
Integrate some changes to keyboard layout:

1. Replace `MATH` key with `TOOL` key.
2. Make `Complex` a menu again, put `MEM` on its right, freeing space for (3)
3. Put `MATH` and `MAIN` as shift and xshift of top-left key
4. Remove `COPY` and `PASTE`, replace with actual bindings, `BEGIN` and `END`

Fixes: #15

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
2023-07-13 22:48:44 +02:00