SM84CE wrote:
to do so, you use

Code:

det(74,XSCALE,YSCALE)   SetTextScale   Changes the amount of text scaling (note that height and width are independent).

Example:

det(74,2,2 would make text 2x wider (X scale) and 2x higher (Y scale)


Thanks, but I found that out watching the ICE C version Tutorial.
People?

SM84CE: I need screenshots!

Everyone else: I need color suggestions!! And feature suggestions!!

I'm dying of BOREDOM! I want to ADD stuff to my program!!
Thanks to SM84CE once again:
Edited readme, as asked by jcgter777

jcgter777, edited by SM84CE wrote:
Readme:

╭━━━╮╱╱╭╮╭╮╭━╮╱╱╱╱╱╱╱╭╮╱╱╭╮╱╭╮╱╱╱╱╱╱╱╭━━━╮╱╱╱╱╱╭╮
┃╭━╮┃╱╭╯╰┫┃┃╭╯╱╱╱╱╱╱╱┃╰╮╭╯┃╱┃┃╱╱╱╱╱╱╱┃╭━━╯╱╱╱╱╱┃┃
┃┃╱╰╋━┻╮╭┫╰╯╯╭━━┳╮╱╭╮╰╮┃┃╭┻━┫┃╭╮╭┳━━╮┃╰━━┳┳━╮╭━╯┣━━┳━╮
┃┃╭━┫┃━┫┃┃╭╮┃┃┃━┫┃╱┃┃╱┃╰╯┃╭╮┃┃┃┃┃┃┃━┫┃╭━━╋┫╭╮┫╭╮┃┃━┫╭╯
┃╰┻━┃┃━┫╰┫┃┃╰┫┃━┫╰━╯┃╱╰╮╭┫╭╮┃╰┫╰╯┃┃━┫┃┃╱╱┃┃┃┃┃╰╯┃┃━┫┃
╰━━━┻━━┻━┻╯╰━┻━━┻━╮╭╯╱╱╰╯╰╯╰┻━┻━━┻━━╯╰╯╱╱╰┻╯╰┻━━┻━━┻╯
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯





Thank you for downloading this program!



This is a program that lets you find the value of any key for use in your ICE programs.
Hope you enjoy! This does not need any shells, libraries or subprograms.

(C) jcgter777 and other authors, see CREDITS

Requirements:
TI-84+CE (or CEmu)
Nothing else!

How to send it to your calculator:
Open TI-Connect CE, and drag and drop XWXWXWX.8xp into the Calculator Explorer workspace. Run with Asm(, found in the catalog, [2nd]+[0], and the program name. You can run the program without Asm( if you have OS 5.3+.

For CEmu, just drag and drop the .8xp file into the screen of the calculator.

Thought this has been tested, you may want to run this with Cesium, and RAM Backups enabled, or make a backup of your calc.

Controls:
The program will tell you what keys to press and when.

At the first part of the program, press any key to find the value of that key. Just press [ENTER] to continue. You can then choose to stay or to quit.

Credits:
PT_ for ICE Compiler
mr womp womp for help
SM84CE for screenshots and bug-fixing

If you have any questions, comments or feature recess, contact me either at jcgter777@gmail.com, or in this Cemetech thread: https://www.cemetech.net/forum/viewtopic.php?t=14269&start=0&postdays=0&postorder=asc&highlight=
SM84CE wrote:
Edited readme, as asked by jcgter777

jcgter777, edited by SM84CE wrote:
Readme:

╭━━━╮╱╱╭╮╭╮╭━╮╱╱╱╱╱╱╱╭╮╱╱╭╮╱╭╮╱╱╱╱╱╱╱╭━━━╮╱╱╱╱╱╭╮
┃╭━╮┃╱╭╯╰┫┃┃╭╯╱╱╱╱╱╱╱┃╰╮╭╯┃╱┃┃╱╱╱╱╱╱╱┃╭━━╯╱╱╱╱╱┃┃
┃┃╱╰╋━┻╮╭┫╰╯╯╭━━┳╮╱╭╮╰╮┃┃╭┻━┫┃╭╮╭┳━━╮┃╰━━┳┳━╮╭━╯┣━━┳━╮
┃┃╭━┫┃━┫┃┃╭╮┃┃┃━┫┃╱┃┃╱┃╰╯┃╭╮┃┃┃┃┃┃┃━┫┃╭━━╋┫╭╮┫╭╮┃┃━┫╭╯
┃╰┻━┃┃━┫╰┫┃┃╰┫┃━┫╰━╯┃╱╰╮╭┫╭╮┃╰┫╰╯┃┃━┫┃┃╱╱┃┃┃┃┃╰╯┃┃━┫┃
╰━━━┻━━┻━┻╯╰━┻━━┻━╮╭╯╱╱╰╯╰╯╰┻━┻━━┻━━╯╰╯╱╱╰┻╯╰┻━━┻━━┻╯
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯





Thank you for downloading this program!



This is a program that lets you find the value of any key for use in your ICE programs.
Hope you enjoy! This does not need any shells, libraries or subprograms.

(C) jcgter777 and other authors, see CREDITS

Requirements:
TI-84+CE (or CEmu)
Nothing else!

How to send it to your calculator:
Open TI-Connect CE, and drag and drop XWXWXWX.8xp into the Calculator Explorer workspace. Run with Asm(, found in the catalog, [2nd]+[0], and the program name. You can run the program without Asm( if you have OS 5.3+.

For CEmu, just drag and drop the .8xp file into the screen of the calculator.

Thought this has been tested, you may want to run this with Cesium, and RAM Backups enabled, or make a backup of your calc.

Controls:
The program will tell you what keys to press and when.

At the first part of the program, press any key to find the value of that key. Just press [ENTER] to continue. You can then choose to stay or to quit.

Credits:
PT_ for ICE Compiler
mr womp womp for help
SM84CE for screenshots and bug-fixing

If you have any questions, comments or feature recess, contact me either at jcgter777@gmail.com, or in this Cemetech thread: https://www.cemetech.net/forum/viewtopic.php?t=14269&start=0&postdays=0&postorder=asc&highlight=



Thanks so much SM84CE!!!!
It seems someone else likes adding ascii art to the top of their readme files Smile

There are a few noticibly typos in that Readme, but “Though” has been replaced with “Thought”.

It would be interesting if it told you what key you pressed, in a large font, centered vertically and horizontally, the key code centered horizontally, just below the key name, in a medium font, and the instructions just below that in a smaller yet font, justified to the left. It would also be cool if you expanded this program to include a color picker.
_iPhoenix_ wrote:
It seems someone else likes adding ascii art to the top of their readme files Smile
It would also be cool if you expanded this program to include a color picker.


How? Like adding a color menu, storing that value to a var, and using that var in the color theme?
No, like it displayed all of the colors, and you could move a cursor around, press enter, and it would tell you the color code.
Do you know the person that made ColorICE? I could just copy that code.
jcgter777 wrote:
_iPhoenix_ wrote:
It seems someone else likes adding ascii art to the top of their readme files Smile
It would also be cool if you expanded this program to include a color picker.


How? Like adding a color menu, storing that value to a var, and using that var in the color theme?

I think more like displaying the palette and allowing users to move through it Kind of like the bottom half of this screenshot

EDIT ok I found the old code from my TILES program, which oddly enough, I've never shared. It was written in hybrid-basic for the CSE, but it should be relatively straightforward to port to ICE. except that the commands that have to do with displaying stuff would change.

Code:
   If F=1 and (K=21 or K=105 //if the color picker option is selected
   Then
      real(8,1,1
      real(8,2,0 //swap buffers
      If 1!=real(7,1,7,3 //if the palette hasn't been drawn yet
      Then
         real(0,3,4,0
         For(K,0,35,5
            For([recursiven],0,155,5
               real(7,9,[recursiven],K,5,5,G //draw the palette
               G+1->G
         End:End
      End
      DelVar G2+5remainder(E,32->R
      2+5int(E/32->H
      real(7,6,0,H,160,H //invert a line at position H
      real(7,6,R,0,R,39 //invert a line at position R
      real(6,1,90,80,255,E //display the color value in E
      real(7,9,20,70,30,30,E //display a larger square the color of the selected value
      Repeat max(K={105,21
         Repeat max(K={105,21,24,25,26,34
            getKey->K //take user input
         End
         real(7,9,90,80,24,9,0 //erase the color value and square
         real(7,6,0,H,160,H,0 //erase the inverted line at H
         real(7,6,R,0,R,39,0 //erase the inverted line at R
         If K=34 or 2>abs(K-25
         Then
            If 1=abs(K-25
            Then
               remainder(R+35+5K,160->R //move the inverted line position 5 pixels if left or right were pressed
               Else
               remainder(H+40-5((K=25)-(K=34)),40->H //move the inverted line position 5 pixels if up or down were pressed
            End
            real(7,6,0,H,160,H,0 //invert new line H
            real(7,6,R,0,R,39,0 //invert new line R
            real(7,1,R,H->E //get the color value of the new position in E
            real(6,1,90,80,255,E //display the new color value
            real(7,9,20,70,30,30,E //display the square of the selected color
         End
      End
      real(8,1,0
      real(8,2,0 //switch the buffer back
      real(7,3,12,105,E,8 //set the new color to the selected one
   End
I was thinking of the same thing, just a bit simpler, like a small scroll menu, but the problem is, i dunno how to do that.
Sorry for the double post, but this is way new(?)...

Hey guys! GetKey Value FinderCE [ICE] has been accepted into the Cemetech archives!
SM84CE: I need color suggestions, and any other things.

Or anyone else...
I'm trying to make an interactive menu, but things don't work. Any help would be appreciated!

SourceCoder3 Link



Code:

[i]KEYICE2
[i]"BBB33333333333BBBBB3CCCCCCCCC3BBBBB3CCCCCCCCC3BBBBB3CCCCCCCCC3BBBBB3CCCCCCCCC3BBBBB33333333333BBBBB31313131313BBBBB33333333333BBBBB32323232323BBBBB33333333333BBBBB34343434343BBBBB33333333333BBBBB35353535353BBBBB33333333333BBBBB36363636363BBBBB33333333333BB"
[i[GetKey Value Finder for the TI-84+CE
det(0
Lbl WELCOME
det(0
det(5,224
det(74,1,2
det(18,"Welcome to GetKey Value Finder!",50,20
det(74,1,1
det(18,"by: Joshua Chen",50,80
det(18,"Special thanks to:",30,130
det(18,"-PT_ for ICE Compiler",30,140
det(18,"-mr womp womp for help",30,150
det(18,"-SM84CE for screenshots and bugfixes",30,160
det(18,"-MateoConLechuga for the C libs",30,170

Pause 650
det(18,"Press [ENTER] to continue",30,190

Pause

Lbl HOMEMENU
ClrHome
det(3
det(74,1,1
224→C
0→Q
Lbl UPNDOWN
Repeat K≠0
det(21,C
det(18,"Continue",50,100
det(21,Q
det(18,"Quit",50,130
getKey→K
End


If K=9 or K=54
Goto FINDVALUE
End
If K=1
Goto QUIT

If K≠54 or K≠9 or K≠1
Goto UPNDOWN
End
Lbl QUIT
224→Q
0→C
Repeat K≠0
getKey→K
End
If K=9 or K=54
ClrHome
det(1
Return
End
If K=4
0→Q
224→C
Goto UPNDOWN
End
If K≠54 or K≠9 or K≠4
Goto QUIT
End

Lbl FINDVALUE
det(74,1,1
det(21,00
det(5,063
det(18,"Press any key to find value",3,3
Repeat K≠0
getKey→K
End
det(19,250,5
det(16,K,2
det(18,"Press [ENTER] to exit",10,100
det(18,"Press [2ND] to go to the home screen",10,120
det(18,"Press [ALPHA] to repeat",10,140
0→K
Lbl QCHECK
Repeat K≠0
getKey→K
End
If K=09
det(1
Return
End
If K=54
Goto WELCOME
End
If K=48
Goto FINDVALUE
End
If K≠54 or K≠48 or K≠09
Goto QCHECK
End
see my ICE prgms thread, there's some menu code that I was working on that is now fixed. PM me if you have any questions about the code.
SM84CE's ICE Programs

The basic menu looks like this:


Code:

Title
>  Option1
    Option2


the ">" is the cursor, controlled by the arrow keys. The menu code in my thread can be optimized, I'll post my optimizations soon.
SM84CE wrote:
see my ICE prgms thread, there's some menu code that I was working on that is now fixed. PM me if you have any questions about the code.
SM84CE's ICE Programs

The basic menu looks like this:


Code:

Title
>  Option1
    Option2


the ">" is the cursor, controlled by the arrow keys. The menu code in my thread can be optimized, I'll post my optimizations soon.


I wasn't thinking of a cursor. I could add that, but I'd also want the text color changed with it, which was my original idea that failed miserably.
The program works now, but I have not been able to upload it. I edited some text, the credits, text size and layout.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement