KermMartian wrote:
Sonlen wrote:
KermMartian wrote:
Which menu, the GUIMenu? Since you're drawing your own GUI, you can do whatever you want to the GUI, including customizing it however you please.

I guess I should have asked how would I make a custom border?
http://dcs.cemetech.net/index.php?title=BasicLibs:PushGUIStack

Do you perhaps mean one of these two?

# GUIRBorder: sum(7,21,X,Y,WIDTH,HEIGHT,COLOR). Render an outlined, unfilled rectangle with upper-left corner (X,Y), width WIDTH, and height HEIGHT. COLOR is 0=white, 1=black.

# GUIRRect: sum(7,22,X,Y,WIDTH,HEIGHT,COLOR). Render a filled rectangle with upper-left corner (X,Y), width WIDTH, and height HEIGHT. COLOR is 0=white, 1=black, 2=invert.


I can't believe I missed that looking through the list earlier.. I even have the SDK page bookmarked.. >.<
Not a problem. Smile Glad to be able to help. Failing that, you'd have to use a GUIRLargeSprite containing a border, which sounds quite awkward to me.
KermMartian wrote:
Not a problem. Smile Glad to be able to help. Failing that, you'd have to use a GUIRLargeSprite containing a border, which sounds quite awkward to me.

I will eventually figure something out.
No, I mean if Doors CS had not had a provision for borders, you would have had to use a memory-consuming LargeSprite. How's this going so far, or didn't you start yet?
KermMartian wrote:
No, I mean if Doors CS had not had a provision for borders, you would have had to use a memory-consuming LargeSprite. How's this going so far, or didn't you start yet?

Ahh, not quite yet started, I will be today hopefully, I need to talk to Buckeye about Wabbitemu Key bindings so I can make it more user friendly(for me that is) and I will hopefully get that today, I would rather use that then my calculator while I am at home to save my battery life, because with my luck I will lose everything when it decides to die out of nowhere.
It's pretty easy to set up key bindings in WabbitEmu; just right-click on the screen and navigate to the options for it. Keep us posted on your progress. Smile
KermMartian wrote:
It's pretty easy to set up key bindings in WabbitEmu; just right-click on the screen and navigate to the options for it. Keep us posted on your progress. Smile

Thanks for that bit, and I will keep you up to date as I am sure I will need help.
I don't see that option anywhere Kerm. :/

Can you post a very simple explanation code for using the PushGUIStack please, just enough to show how to get it to display and work please.

Code:
sum(9
sum(7,1,"F8888888F8","The Game"
sum(7,4,1,1,0,"Did you lose the game?"
sum(7,7,20,10,"Yes"
sum(7,7,20,20,"No"
sum(7,5,32
sum(11,1
sum(10


That should work... If you need explanations, check Here first. If you have any more, just ask me ^^
How many "Demo's" of the library functions that DCS support are there does anyone know?
Pardon, demos?
_player1537 wrote:
Pardon, demos?


As in example programs on how they work, or just them being used in something that I can look at and learn by modifying things.
Yep Very Happy I'll edit this post with some examples
_player1537 wrote:
Yep Very Happy I'll edit this post with some examples


Awesome, this will help me a whole lot. Very Happy
http://www.cemetech.net/forum/viewtopic.php?t=4689&highlight=quadratic

http://www.cemetech.net/forum/viewtopic.php?t=4687&highlight=quadratic

I'll see if I can find more. Maybe later though.

Edit: Rofl, it had the highlight in there >Razz
_player1537 wrote:
http://www.cemetech.net/forum/viewtopic.php?t=4689&highlight=quadratic

http://www.cemetech.net/forum/viewtopic.php?t=4687&highlight=quadratic

I'll see if I can find more. Maybe later though.

Take your time, I am not in a hurry for these.

How would a subProgram in a subProgram work?
Like one program that has a list of others(games, apps, etc.) that lets you choose which ones you want to play, like a menu for your games instead of choosing each one separately, like DCS7 does, but just one menu, not an entire GUI.


Code:
::DCS
://Menu information goes here//
://Game/App name//
:real(10,0,1
:"XTEMP001
:real(10,1,1
:return


I know how bad that code is as it means nothing, but I hope this gets my point across.
I'm ignoring your questions for a second, but if you want a few demos of the libraries that the DCSB Libs encompass, both GUI and non-GUI, check out these two topics, which have screenies and code of a lot of both:

http://www.cemetech.net/forum/viewtopic.php?p=101030#101030
http://www.cemetech.net/forum/viewtopic.php?t=4660
Cleared Post Because of "Deadly" Code (TI-OS doesn't like it apparently).
Just use the Document DE 7 converter to turn that into a Document DE 7 document and load it on your calculator instead of that. Very Happy Or is that not what your asking? For doing something functionally identical, you could you one giant giant sub() statement, but I'd find that to be super awkward, and would instead opine to stick with what you have.
KermMartian wrote:
Just use the Document DE 7 converter to turn that into a Document DE 7 document and load it on your calculator instead of that. Very Happy Or is that not what your asking? For doing something functionally identical, you could you one giant giant sub() statement, but I'd find that to be super awkward, and would instead opine to stick with what you have.


I am wanting to do something like this for all the non-TI-OS functions DCS supports.
I just want a working way to do this, possibly eventually use DCS GUI function to make a GUI with all this information more organized if you understand what I mean.
Then what you have is the easiest way to do it without painstaking string-length calculations, unless you decide to go the DocDE7 route.
  
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
» Goto page Previous  1, 2, 3, ... 10, 11, 12  Next
» View previous topic :: View next topic  
Page 2 of 12
» 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