rotated text and widgets

We would like to develop a photon application, however
we would the QNX or photon to rotate the display/windows
by 90 degrees. Is this possible?
Does photon allow rotated text and widgets?
Do QNX video drivers suppport rotating the screen,
for example instead of 640x480, can I force it into 480x640?

Any help would be greatly appreciated.

Mike Konstan wrote:

We would like to develop a photon application, however
we would the QNX or photon to rotate the display/windows
by 90 degrees. Is this possible?
Does photon allow rotated text and widgets?
Do QNX video drivers suppport rotating the screen,
for example instead of 640x480, can I force it into 480x640?

Any help would be greatly appreciated.

I remember that there was a discussion about photon in portrait mode in
this group, you
can search it.

Photon widget does not support rotation, even for rotation 90 degree.
You can set
a widget’s IMAGE DATA resource by a rotated image.

Regards


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: wbtong@aquilamsl.com

Mike Konstan <mk@telecast.dk> wrote:

We would like to develop a photon application, however
we would the QNX or photon to rotate the display/windows
by 90 degrees. Is this possible?
Does photon allow rotated text and widgets?
Do QNX video drivers suppport rotating the screen,
for example instead of 640x480, can I force it into 480x640?

Any help would be greatly appreciated.

You will be able to rotate the entire display in a future version
of Photon, but the entire display will be rotated, not just specific
windows or regions.

<pete@qnx.com> wrote in message news:995bgl$h5d$1@nntp.qnx.com

Mike Konstan <> mk@telecast.dk> > wrote:
We would like to develop a photon application, however
we would the QNX or photon to rotate the display/windows
by 90 degrees. Is this possible?
Does photon allow rotated text and widgets?
Do QNX video drivers suppport rotating the screen,
for example instead of 640x480, can I force it into 480x640?

Any help would be greatly appreciated.

You will be able to rotate the entire display in a future version
of Photon, but the entire display will be rotated, not just specific
windows or regions.

Shame:( At least it should be possible to rotate text through +/- 90
degrees. Just think about the labels on the Y axis of a graph. After all,
this is meant to be an industrial grade product…

Jim Douglas

Shame:( At least it should be possible to rotate text through +/- 90
degrees. Just think about the labels on the Y axis of a graph. After
all,
this is meant to be an industrial grade product…

Hmmm… how exactly does rotated text imply “industrial grade” ? If you
take even an introductory course on human factors engineering, one of
the things the instructor will certainly tell you is to not use
rotated text in any of your user interface designs. Now certainly,
labels on the Y axis of a graph is a valid exception (not because the
basic concept of rotated text being bad doesn’t apply, but simply
because there aren’t a lot of alternatives in this situation - a legend,
however, is a good alternative, and I am sure there are human factors
engineers out there who would insist that a legend is always better than
rotated labels).

Anyway, I’m not suggesting that it wouldn’t be nice to have text you
could rotate, only that it really isn’t a big deal (you can always
render of screen and rotate yourself), and it certainly isn’t a big
enough deal to be used as a reason to categorize Photon as “not
industrial grade”. If you want to beat on QSSL about problems with
Photon there are much better targets out there (like why isn’t
PtNumericFloat in the shared library :slight_smile: