Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 03:29:30 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Accessing the Nspire Fonts -  (Read 537 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
bsl
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 October, 2012, 03:42:44
Date Registered: 23 February, 2010, 18:14:18
Posts: 148

Topic starter
Total Post Ratings: +11

View Profile
« on: 18 August, 2011, 07:41:33 »
0

Up till now, to print text on the Nspire screen required you to bring
your own Font table into your code. This is not always convenient.
The text is small, but a simple OS call: disp_str(char*, int *x, int y) prints a string where you want it
without bringing in extra screen routines and a Font table.
Maybe this can be used in the Ndless console program ? Smiley

Here is a simple example I found for Ndless 1.7 and  2.0.1.60

 

* HelloGUI.zip (1.21 KB - downloaded 27 times.)

* hello.bmp (644.51 KB, 486x452 - viewed 258 times.)
« Last Edit: 18 August, 2011, 08:26:45 by bsl » Logged
MasterGeek
LV2 Member (Next: 40)
**
Offline Offline

Gender: Male
Last Login: 16 April, 2013, 15:17:32
Date Registered: 14 April, 2012, 09:59:26
Location: Canada
Posts: 24


Total Post Ratings: 0

View Profile
« Reply #1 on: 15 April, 2012, 19:36:12 »
0

Will this work for Ndless3 and the Ti-Nspire CX?
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 03:15:15
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50224


Total Post Ratings: +2615

View Profile WWW
« Reply #2 on: 15 April, 2012, 19:50:05 »
0

Assuming it was not updated for it (can Bsl confirm?) then nope, as the addresses of stuff (I believe it was the memory addresses) have changed over other OS versions.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
bsl
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 October, 2012, 03:42:44
Date Registered: 23 February, 2010, 18:14:18
Posts: 148

Topic starter
Total Post Ratings: +11

View Profile
« Reply #3 on: 17 April, 2012, 01:58:28 »
0

Ndless3.1 :
{0x100b30c4, 0x100b3384, 0x100b275C , 0x100b2a44 }
« Last Edit: 18 April, 2012, 07:37:10 by bsl » Logged
apcalc
The Game
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: 19 May, 2013, 16:59:33
Date Registered: 20 March, 2010, 16:31:47
Location: 2003 UB313
Posts: 1393


Total Post Ratings: +118

View Profile
« Reply #4 on: 30 April, 2012, 01:38:59 »
0

Very nice!  Great work bsl! Smiley
Logged


Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.208 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.