Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jwalker

Pages: 1 ... 40 41 [42] 43 44 45
616
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 06, 2012, 09:23:37 am »
thats a good idea too, my code only uses one instance of inheritance though, in the form class, do to the fact that the lib is quit large and poeple should be able to choose what code they need and take the other stuff out.
this way if they take out some class and some other class had to inherit from it there would be errors.
also i might add a control class for the controls to inherit from, but i may not do to the fact im trying to make it smaller and more optimized :)

617
Lua / Re: Updating WZGUILib
« on: January 06, 2012, 09:20:33 am »
sounds good

618
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 06, 2012, 09:17:35 am »
this code does use classes, the one he gave you and mine also

619
Lua / Re: Updating WZGUILib
« on: January 06, 2012, 09:15:51 am »
Here is a prerelease version with lua source.
NOTE: it is prerelease so a few things are going to change, most likely tonight :)

620
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 06, 2012, 09:14:20 am »
im actualy about to upload a prerelease version right now, check in a few miniutes, im using an old crappy school computer so it might take some time :P
EDIT: uploaded!

621
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 05, 2012, 06:14:18 pm »
i would do cursors with classes, it would make it so much eiser, all you need is to make an image, and have a place to store x, y

622
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 05, 2012, 06:05:15 pm »
you might be able to make them with functions and a cursor couldnt be that hard, could it?

623
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 05, 2012, 06:01:32 pm »
its in lua nspire by default

624
News / Re: A Nspire powered by a non-TI rechargeable battery!
« on: January 05, 2012, 06:01:01 pm »
awesome, way better than spending lots of money

625
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 05, 2012, 05:58:55 pm »
o, what they dow is if there is an event, you write code to handle it
like this:
function on.mouseDown(x, y)
  sdia.isdrawn = true
  sdia.text = "mouse was pressed"
end
just a nod to my GUI library :)

626
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 05, 2012, 05:55:34 pm »
i think a message is sent to the LUA interpreter on the TI-Nspire so thats the only way to recieve input that i can think of right now

627
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 05, 2012, 05:49:24 pm »
you might be able to... but i dont think so because the events would have to be raised by the operating system, of course your not as limited as we are so you could prbably figured out a way link the events in lua to say a keypress on the calc

628
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 05, 2012, 05:45:58 pm »
i dont know what the code is behind the events, it would be operating systems stuff i suppose

629
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 05, 2012, 05:40:03 pm »
thats a tough one.... on the TI-Nspire we have on. events
the window manager handles these events
i made a window class to handle that sort of thing
in Work Zone GUI Lib, WZGUILIB is just short for it, parent windows have a controls table and a dialogs table
some functions you would see would be--
window:drawControls(gc)
window:udateControls(control)
window:getFocus()
and a seperate function to find a specific window that is focused: curwin()
it also handlse the basic on. events like: charIn(char), mouseDown(x, y), mouseMove(x, y), backspaceKey(), paint(gc)
scince i dont know what is on prizm, i couldnt tell you what your functions are but if it is event based it would easily be similar

630
Casio PRIZM / Re: CalGUI -- A GUI library by flyingfisch
« on: January 05, 2012, 05:26:56 pm »
@ flyingfisch: did you download it off of ticalc, because the new version is wayyyyy better, i mean its like comparing Windows 3.1 to Windows7

lol, is it really that bad your first version?
lol bad explanation on my part.
it wasnt bad it just was severly limited, and i changed the design of the dialog boxes and added a forms control
dialogs used to only support 1 line of text on the very top portion of the body of the dialog, no controls
below is two images comparing them, the second one is the new look:


also the context menus are completely random you could change any of the text you wanted to :)

Pages: 1 ... 40 41 [42] 43 44 45