0 Members and 3 Guests are viewing this topic.
Quote from: ExtendeD on October 30, 2012, 05:26:33 pmYou probably won't find any library directly compatible with the TI-Nspire except if it is compatible with SDL, since today SDL is the only standard UI interface supported by the TI-Nspire.But hopefully this doesn't mean adapting these libraries or text-based browser is impossible.But all I demande to the library is to return an image of 320*240 pixels which I display on the screen.Why would it need any interface ?
You probably won't find any library directly compatible with the TI-Nspire except if it is compatible with SDL, since today SDL is the only standard UI interface supported by the TI-Nspire.But hopefully this doesn't mean adapting these libraries or text-based browser is impossible.
Take a look on this page: http://links.twibright.com/download.php the source tarball is there
Then why not simply convert the page on the computer side, and view it with mViewer?
Yeah I think that's the case with TiLP. I complained a bunch of times before about it but I forgot the reason why we have to do it for Windows. It could probably be that the software is updated way too often and takes a long while to compile (remember how TASM took 5 seconds on a Pentium II to compile Hello World to 8xp format? ) so to save time they only compile one update out of ten or something, but beforehand I did see Windows softwares (all of which were ports of Linux ones) which absolutely had no exe download regardless of the version. It seems Linux developers or hardcore Linux fans who make softwares for both platforms decided that since Linux users have to compile everything, then there shouldn't be special treatments for Windows users.
Quote from: DJ_O on October 31, 2012, 02:51:57 pmYeah I think that's the case with TiLP. I complained a bunch of times before about it but I forgot the reason why we have to do it for Windows. It could probably be that the software is updated way too often and takes a long while to compile (remember how TASM took 5 seconds on a Pentium II to compile Hello World to 8xp format? ) so to save time they only compile one update out of ten or something, but beforehand I did see Windows softwares (all of which were ports of Linux ones) which absolutely had no exe download regardless of the version. It seems Linux developers or hardcore Linux fans who make softwares for both platforms decided that since Linux users have to compile everything, then there shouldn't be special treatments for Windows users. I'm pretty sure TiLP has binaries nowadays...mdr1: If you want to become insane try porting GUI web browsers, take a peek at the source of Origyn Web Browser and NetSurf. Both have SDL backends that, if you successfully port the guts of these browsers, can use to display the output.Also, you're looking for a renderer. That's the "image" thing I suppose you're trying to mention. Text browsers usually are really "text-only" - you'd be using NspireIO instead of some kind of image based output. If you decide to port a real browser, you don't want an "image" - trying to get an image and then blit that on the screen is very slow, and the experience of using said browser becomes pretty terrible. Instead, the renderer will have settings for render size, zoom, etc. and you can simply give it a place to draw pixels on (the screen buffer). Or, with the above web browsers, you can just hook on the SDL backend, which Nspire has (nSDL). nSDL handles drawing and such automatically, and is probably much more preferred to "grabbing an image" (since most browsers depend on system or library drawing functions - rewriting them takes too much effort!).
Well, I think it's too hard for me, I don't use to do adaptations of programs.So I'm creating my own viewer of text whose syntax will look like html's syntax.When I'll have a first version of my program, I'll probably create a new subject.