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 ... 15 16 [17] 18 19 ... 45
241
Lua / Re: Updating WZGUILib
« on: August 12, 2012, 03:03:54 pm »
Ok just some general news and a question...
First I have found another way to make my code smaller by creating a control class that all controls can inherit from, and as of now I have been able to remove almost all of the control_name:checkClick() functions and replaced them with a generic one, which cut out about 5 lines of code per control, I also discovered some unecessary code in text boxes and removed it from there.
Today I will finaly be able to complete the transfer of major code(paint, click, etc) into the library system.
Today I also will make the WZLL (WZ Library Load) Table, which will control loading and unloading of unecessary libraries in order to conserve memory(hopefully). This way you only will load the libraries that you need, and if you arent using a library you will also be able to unload it. the format will be simple, it will look like this:
WZLL = {{"component_name", string comstring, bool loaded}}
**Notice, in the table it actualy wont have a 'string comstring' the element will just be comstring
The only part of that table you have to worry about is the string 'component' name and the boolean 'loaded'

Now my question is this... is there a way to only draw a certain part of anything stored in gc,
Why Im asking this is if I want to make the windows drag-resizeable or if the programmer makes a lable that goes outside of the realm of the body of the window, I dont want to draw that portion of the said image/string/geometric shape.

242
Computer Programming / Re: c# pointers help needed
« on: August 04, 2012, 08:50:10 am »
You cant use pointers in C#.
A pointer is only in existance as long as the program is running, what are you trying to do?

Also HOMER-16 is correct, almost all os's use something called virtual memory, so that address is actualy not the physical address.

243
TI-Nspire / Re: OSLauncher 3.1
« on: August 03, 2012, 01:54:40 am »
But that is what everyone is using it for though, to launch a CAS OS.
If the original pupose was not too launch a CAS OS, then could you write code to block any CAS OS?

It is a threat if they believe it is a threat, they make the rules.

244
Lua / Re: Updating WZGUILib
« on: July 22, 2012, 08:56:05 pm »
yep, also im setting a git repo

245
Lua / Re: Updating WZGUILib
« on: July 22, 2012, 08:26:09 pm »
I actualy have VirtualBox, I need to find an xp image though... cant be that hard

246
Lua / Re: Updating WZGUILib
« on: July 22, 2012, 08:14:40 pm »
I thought about, but decided not to in the end (dont want to spend the money :P)

247
Lua / Re: Updating WZGUILib
« on: July 22, 2012, 07:47:19 pm »
true, but I am using home premium...

248
Lua / Re: Updating WZGUILib
« on: July 22, 2012, 06:06:28 pm »
ok, I know whats going on....
I think the problem is that it is trying to open the WZ_ST_LIB.tns file to read the variables, because the lua script that I just posted should work on all versions.
So here is what You will have to do, to have 'Styles' and the dynamicaly loaded strings.
Make a new file called WZ_ST_LIB.tns (this way you dont have to change anything in the WZ_LibTST lua file) and paste the code snipits into it from the file that I provided.

I divided each one out with: ------------------------------------------name of control----------------------------------------------

copy everything into the file and then press enter, this way the variable is created, and do the same for all variables.

This is also how it would work with any style that some one may develop, the variable names would remain the same but the drawing code may be diffrent and the name of the library may be diffrent.

Also feel free to mess around with the drawing code, in the future I will make sure to include this file, and a file that works with <=3.2 calcs.
Also in the future I will add all some of the event code, because if you made a rounded window, you cant check the click the same as you would with a standard window

249
Lua / Re: Updating WZGUILib
« on: July 22, 2012, 12:38:53 pm »
Thats what Im doing with my CX, and I added the files to the bottom :).
The WZ_ST_LIB should work on all versions.

Excuse my double post...
I am happy to announce that I hav successfully got the 'lib' system to work.
Currently, I have only moved the paint code to the lib, but I will move the rest later.
This is a proof of concept release, it is a v3 development version.
I tested these two files on both the computer and my old light blue greyscale nspire.
What this could allow is:
  Easily create styles for WZGUILIB.
  Easily switch styles durring execution.
  Editing how the GUI objects look and work on calc (great for me and style developers).
  Allow multiple styles on one calc without having to have several diffrent versions of WZGUILIB.
  *Allow to only have some class code loaded.

Questions and comments are definately welcome

**********************How to set up**********************
send both files to your calc
place WZ_ST_LIB.tns inot your MyLib folder
Refresh your libraries
execute WZ_LibTST

*I havnt yet implemented it.
the setup instructions are at the bottome

250
Lua / Re: Updating WZGUILib
« on: July 21, 2012, 09:41:12 pm »
thank you

251
Lua / Re: Updating WZGUILib
« on: July 21, 2012, 12:28:37 am »
So today I came home after work and decided to take a look at what WZGUILIB might look like in C, for use on the prizm, and I definately think that porting it wont be that difficult. But I ran into a problem....
My Prizm emulator trial ran out and I dont want to ruin my prizm.
So as an effect of that, I will be writting out the first C version in Nspire C :), and once school starts I will download the prizm emulator on one of the schools computers and directly port WZ to the prizm. The WZ headers them selves will have barely any platform specific code in them, so I can easily port it.
The only problem right now is.... nRGBLib draws out its chars way to large, in the image, the title is bieng drawn out at a size of 1.
 I only drew out the body, frame and title of the form, as you can see. It will have the two circle buttons in the end.

252
TI-Nspire / Re: kArmTI - TI-Nspire emulator with skin
« on: July 20, 2012, 11:12:38 am »
You can be sure that EVERYONE here likes your kArmTI very much!
Nice Job! I like the skin editor idea and having gif recording built in. I think that this definately will be usefull.
^This. Your emulator is very useful to me because easy to set up (once we figure out the one line needed to have it to work), contrarily to Nspire_emu that I never managed to launch properly, and it has a lot of useful features. So keep up the good work :D
That is another thing, it is easy to set up. When I first tried nspire_emu I had to come to omni to get help

253
TI-Nspire / Re: kArmTI - TI-Nspire emulator with skin
« on: July 20, 2012, 02:22:06 am »
I do agree with lionel, the nspire scene can change rapidly, and if you cant update your source and it is a closed source program, then poeple stop using it and all of your hard work prety much becomes worthless. Like lionel also said, if you suffer a crash or something and your source was completely lost then your work would be avaliable to you.
On a side note, Nice Job! I like the skin editor idea and having gif recording built in. I think that this definately will be usefull.

254
Miscellaneous / Re: OSDev
« on: July 20, 2012, 01:19:48 am »
the barebones tutorials are prety good.
here are a couple of others:
http://www.osdever.net/tutorials/index
http://www.brokenthorn.com/Resources/OSDevIndex.html

255
Miscellaneous / Re: Computer geek test
« on: July 18, 2012, 12:59:54 pm »
lol, i scored a 41

Pages: 1 ... 15 16 [17] 18 19 ... 45