Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesMorphing a NUI with SoftNC


July 1997 / Cover Story / Good-Bye, GUI....Hello, NUI / Morphing a NUI with SoftNC

TriTeal's SoftNC has a cool feature unique among NUIs -- it can instantly change the appearance of its interface after a single mouse-click. To switch among styles that resemble Windows 95, Motif, or Unix CDE, users simply click on a button in a control panel. It's the neatest trick since the morphing metallic robot in Terminator 2.

SoftNC can change its look in this m anner because the interface isn't hard-coded into the software. Instead, a proprietary description language that's similar to H TML controls the screen layout and the appearance of all the windows and widgets.

TriTeal's description language is called the SoftNC Presentation Language (SPL). An SPL script describes how a GUI should look, but it doesn't actually draw the graphics on the screen. To do that, TriTeal wrote its own library of Java classes. TriTeal's classes are broad enough to mimic almost any GUI and can adapt to different screen resolutions, color palettes, and screen types -- even monochrome displays on hand-held devices.

The new classes reside on the SoftNC client (usually an NC). When SoftNC receives a message to change the desktop's appearance, it calls upon those classes to draw the interface described by the SPL script. The mechanism for these and other types of messages in SoftNC is based on the Inter-ORB Communications Protocol (IOCP).

Mes sages can originate locally or anywhere on a network. They are encoded as Multipurpose Internet Mail Extensions (MIME) attachments. A message might include some data and an SPL script, or a URL pointing to an SPL script elsewhere on the network. In this way, a server can centrally control SoftNC's desktop by dispatching MIME messages to all SoftNC clients.


Up to the Cover Story section contentsGo to previous article: Morphing a NUI with SoftNCSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network