Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/prog_guide/whatsnew.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/prog_guide/whatsnew.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/prog_guide/whatsnew.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/prog_guide/whatsnew.html on line 8
This chapter describes what's new and changed in the Photon Programmer's Guide.
- The Photon graphics architecture on embedded systems has changed. For more information, refer to the io-display utility chapter in the Neutrino Utilities Reference for more information.
- The Photon in Embedded Systems appendix describes how to use the io-display utility to embed photon on an embedded device. When you want to run both GF/OpenGL ES and Photon applications, you must start io-display before starting the Photon graphics server, io-graphics.
- The Fonts chapter has been updated to describe how fonts are handled under the io-display graphics framework.
- The Widgets chapter contains a paragraph that describes how to use Shift-drag to move a widget by its resize handle. This is new functionality for 6.4.
For information on migrating from previous versions of QNX Neutrino, refer to the product release notes.
- The PhAB's Environment — PhAB's interface has changed, including an updated menu and simplified toolbar.
- The Geometry Management chapter now describes how to use layouts to manage widget placement.
- The directory structure for PhAB projects has changed, and is described in How application files are organized.
- The Generating, Compiling and Running Code chapter now describes how you can Manage targets.
- The Raw Drawing and Animation chapter now describes how you can use layers.
- The Fonts chapter is updated with information about the new font library.
- The Photon in Embedded Systems appendix has a new example of creating a floppy containing Photon and some applications, and is updated with new font library information pertinent to embedded systems.
- Listed the supported platforms; see
“Versions and platforms”
in the Introduction.
- The Interprocess Communication chapter has a better description of how
to use Photon
connections.
- There's a new section,
“Layers,”
in the Raw Drawing and Animation chapter.
- Added a description of the
PHINDOWSOPTS
environment variable to the Using PhAB under Microsoft Windows appendix.
- The libraries in /usr/photon/lib are provided for runtime
compatibility with Photon for QNX Neutrino 6.0 (x86 only).
The current libraries are in /usr/lib.
For more information about the libraries, see
“Photon libraries”
in the Introduction.
- Corrected the call to ionotify() in
“Sending the pulse message to the deliverer”
in the Interprocess Communication chapter.
- The instructions for printing a
PtMultiText
widget have been corrected.
- The order of the options to the on command have been corrected
in
“Putting it all together”
in the Photon in Embedded Systems appendix.
- If you want to use a graphical debugger when developing in Windows,
use the IDE that's part of QNX Momentics.
This section doesn't try to describe all the changes to PhAB's
user interface; most you'll discover by trying it yourself or by
scanning this manual.
Instead, this section lists only the major changes.
The changes are listed below by chapter:
- The geometry of a widget has changed slightly; it now includes the
widget's border.
For more information, see
“Widget geometry.”
- You no longer need to press Enter after giving an instance
name to a widget.
- It's no longer possible to override the standard Photon mainloop function.
- PtWindow
widgets (which are used to instantiate
Window modules)
no longer include an icon resource.
You must now use PhAB to associate an icon with the window.
- You can no longer create “other” modules (file
selectors or messages) in PhAB, although they're still supported
for existing applications.
Instead of the file selector, use one of:
Instead of the message module, use one of:
For more information, see the Photon
Library Reference.
- You can now create templates, or
customized widgets, to use as the basis when creating other widgets.
New sections:
New sections:
Other changes:
- When setting string resources, the fourth argument to
PtSetArg() is the number of bytes to copy; if it's 0,
strlen() is used to determine the length of the string.
- Changes to the widget's state may invalidate the pointers returned
by PtGetResources(); use them promptly.
New sections:
- The PxHelp* functions are now named
PtHelp* and are in the main Photon library,
ph.
New sections:
- Connections — the best
method of IPC for Photon applications.
Other changes:
New sections:
New sections:
Other changes:
- If you use
PxLoadImage()
to load an transparent image, set PX_TRANSPARENT in the
flags member of the PxMethods_t structure.
If you do this, the function automatically makes the image transparent;
you don't need to create a transparency mask.
See
“Transparency in images.”
New chapter.
The entire API has been made simpler.
Applications that call the old routines should still work, but you should
reread this chapter.
New chapter.
New sections:
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/prog_guide/whatsnew.html on line 536
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/prog_guide/whatsnew.html on line 536