Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Photon Fullscreen App: (16 Items)
   
Photon Fullscreen App  
Hi,

I am new to Photon and i am trying to figure out how to make a simple fullscreen application with Photon. I only need a 
simple GUI with buttons and labels. The Display will be a touch-screen.

Can somebody help me please?

Best Regards
Stephen
RE: Photon Fullscreen App  
You mean without the window dressings?

-----Original Message-----
From: ich hier [mailto:community-noreply@qnx.com] 
Sent: October 4, 2010 11:13 AM
To: photon-graphics
Subject: Photon Fullscreen App

Hi,

I am new to Photon and i am trying to figure out how to make a simple
fullscreen application with Photon. I only need a simple GUI with
buttons and labels. The Display will be a touch-screen.

Can somebody help me please?

Best Regards
Stephen



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post69434
Re: RE: Photon Fullscreen App  
yes, without the window dressings and other windowing requirements.

Perhaps the QNX Graphic Framework is better suited for my requirement. But GF does not have direct font support as well 
as no widget support. 
RE: RE: Photon Fullscreen App  
In the PtWindow, there are the "Render Flag",
Pt_ARG_WINDOW_RENDER_FLAGS, you can turn off the dressings in there.

-----Original Message-----
From: ich hier [mailto:community-noreply@qnx.com] 
Sent: October 4, 2010 12:17 PM
To: photon-graphics
Subject: Re: RE: Photon Fullscreen App

yes, without the window dressings and other windowing requirements.

Perhaps the QNX Graphic Framework is better suited for my requirement.
But GF does not have direct font support as well as no widget support. 



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post69449
Re: RE: RE: Photon Fullscreen App  
I have done this already. But the shelf is still visible. So it is not a fullscreen application. It only fills the 
desktop area, but not the full screen.
I am looking for an approach like it is done in the game "PH Columns". There it is possible to play the game in 
fullscreen. This kind of fullscreen look I would like to have too. Is it possible to get this fullscreen look and use 
the widgets like buttons and labels too?
Re: RE: RE: Photon Fullscreen App  
An other example. But on a Windows system. There you can set a window to fullscreen. For example the Internet Explorer 
or Mozilla Firefox by pressing F11. 
Re: RE: RE: Photon Fullscreen App  
ah, I have just seen that the Photon browser Bon Echo supports this fullscreen feature too. How is this done? :-)
RE: RE: RE: Photon Fullscreen App  
Columns switches the application into "bypass mode" using
PdDirectStrart() and PdDirectStop().

I would suspect there is a way to do it without using direct mode, I
have cc'ed Misha in case he recalls off-hand.

-----Original Message-----
From: ich hier [mailto:community-noreply@qnx.com] 
Sent: October 5, 2010 4:31 AM
To: photon-graphics
Subject: Re: RE: RE: Photon Fullscreen App

I have done this already. But the shelf is still visible. So it is not a
fullscreen application. It only fills the desktop area, but not the full
screen.
I am looking for an approach like it is done in the game "PH Columns".
There it is possible to play the game in fullscreen. This kind of
fullscreen look I would like to have too. Is it possible to get this
fullscreen look and use the widgets like buttons and labels too?



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post69533
Re: RE: RE: RE: Photon Fullscreen App  
I am not sure what exactly your goal is, but if you would like to have a window without a frame that covers the entire 
graphics region, you need to follow Derek's suggestion and disable all decorations via Pt_ARG_WINDOW_RENDER_FLAGS, the 
second step is to set the proper window dimensions via Pt_ARG_DIM/Pt_ARG_AREA. Use the PhWindowQueryVisible() with the 
Ph_QUERY_GRAPHICS flag to learn the size of the graphics region.
Re: RE: RE: RE: Photon Fullscreen App  
ich hier? wo? :)

If you don't need window frames etc., and only have *one* fullscreen application, maybe you can just do away with "pwm",
 i.e. not start it at all?

- Malte
Re: RE: RE: RE: Photon Fullscreen App  
Our goal is a fullscreen UI in an embedded environment. We don't have any windowing requirements. We just have to draw 
text and buttons (images). The display will be a touch screen.
The result should look something like this: http://nddsoft.com/img/Tracker1.jpg ( it's just an example from google search ;-) )

Perhaps GF is the better solution for our intent. But I think it is very complicated to write strings and multiline text
 with Bitstream Font Fusion. So i am searching for an alternative.
Re: RE: RE: RE: Photon Fullscreen App  
I believe Photon would be a better choice. Do not run shelf and pwm.
RE: RE: RE: RE: Photon Fullscreen App  
Yes, follow Misha's previous suggestions, as well as no shelf and pwm
like he mentions below.

-----Original Message-----
From: ich hier [mailto:community-noreply@qnx.com] 
Sent: October 5, 2010 10:38 AM
To: photon-graphics
Subject: Re: RE: RE: RE: Photon Fullscreen App

Our goal is a fullscreen UI in an embedded environment. We don't have
any windowing requirements. We just have to draw text and buttons
(images). The display will be a touch screen.
The result should look something like this:
http://nddsoft.com/img/Tracker1.jpg ( it's just an example from google
search ;-) )

Perhaps GF is the better solution for our intent. But I think it is very
complicated to write strings and multiline text with Bitstream Font
Fusion. So i am searching for an alternative.



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post69591
Re: RE: RE: RE: RE: Photon Fullscreen App  
How do i disable pwm? I know how do disbale shelf (environment variable PHSHELF_DISABLE). Is there an environment 
variable for pwm too? Or do I have to edit the ph script.

Thanks for you very good help!!
RE: RE: RE: RE: RE: Photon Fullscreen App  
Are you using the ph script to start everything?  Usually you would just
not start "whatever" on the target.  There does not appear to be a envar
to disable pwm, so you will need to comment out the section in
/usr/bin/ph.  Just make a backup of the script before you do so.

-----Original Message-----
From: ich hier [mailto:community-noreply@qnx.com] 
Sent: October 6, 2010 10:42 AM
To: photon-graphics
Subject: Re: RE: RE: RE: RE: Photon Fullscreen App

How do i disable pwm? I know how do disbale shelf (environment variable
PHSHELF_DISABLE). Is there an environment variable for pwm too? Or do I
have to edit the ph script.

Thanks for you very good help!!



_______________________________________________

Photon microGUI
http://community.qnx.com/sf/go/post69759
Re: Photon Fullscreen App  
  ich hier wrote:
> Hi,
>
> I am new to Photon and i am trying to figure out how to make a simple fullscreen application with Photon. I only need 
a simple GUI with buttons and labels. The Display will be a touch-screen.

   ... use SDL 
(http://community.qnx.com/sf/projects/qnx_community_sdl_project) ... 
it's Photon based.

--Armin



> Can somebody help me please?
>
> Best Regards
> Stephen
>
>
>
> _______________________________________________
>
> Photon microGUI
> http://community.qnx.com/sf/go/post69434
>
>