Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Happybobjr on March 10, 2011, 09:01:44 pm

Title: Calculator menus.
Post by: Happybobjr on March 10, 2011, 09:01:44 pm
Any calculator languages.  Ti-Basic, Axe, Asm
I just think it is a good idea to spread some fancy menus around.
Please make screen shot of the menu and give good info.


Mine...
Is used as a sub routine
Uses 2 variables.
C- menu option
D- number of choices +1  (0-5 only)
Also uses r1-r6
Need Fix 5 in your code
Unused choices must have blank string.


Spoiler For Spoiler:
Yay! Radio Buttons?
BTW, why are those things called radio buttons?

I think they were used on radios :P

Next time I get a break, I think I will add multiple choice selection support ;)
Title: Re: Calculator menus.
Post by: Yeong on March 10, 2011, 09:03:25 pm
Yay! Radio Buttons?
BTW, why are those things called radio buttons?
Title: Re: Calculator menus.
Post by: ralphdspam on March 10, 2011, 09:37:09 pm
Nice! This will sure spice up interface in any program! :)
Title: Re: Calculator menus.
Post by: Happybobjr on March 10, 2011, 09:40:37 pm
I would love other people to post their routines no matter how good or bad.
Title: Re: Calculator menus.
Post by: thepenguin77 on March 10, 2011, 10:19:08 pm
Here are my menus. I use them for a lot of things. Written in asm of course :D

Input:
Jump to this routine with a table in HL that looks like this [title x position], [title string], [number of options], [string 1], [string 2], ... [address 1], [address2]...

It handles numerical keys as well as 2nd, enter, and clear
The Yes and No aren't part of it, you have to add those in yourself because there's no universal way to implement them.
Title: Re: Calculator menus.
Post by: DJ Omnimaga on March 10, 2011, 10:26:23 pm
Hmm... one of these days I really need to check if The Reign of Legends 4 menu engine could be releasable...
Title: Re: Calculator menus.
Post by: willrandship on March 10, 2011, 11:31:17 pm
Hmm, I should finish my menu lib and put it in. It will support custom sprite-based cursors, and will have inverted titles.
Title: Re: Calculator menus.
Post by: leafy on March 10, 2011, 11:34:23 pm
I've got a fairly nice one written in Axe, if I can find it :P
Title: Re: Calculator menus.
Post by: willrandship on March 10, 2011, 11:41:32 pm
Mine is being designed for easy modularness, and to be small. so far, though, very little progress :P I can move the cursor, but it glitches sometimes.