Re: [lazarus] True fullscreen mode - GTK2 Patch

2006-10-05 Thread A.J. Venter
> "A.J. Venter" <[EMAIL PROTECTED]> wrote: > > The attached patch makes SetFormFullScreen work for GTK2 apps as well > > as GTK1 > > Thanks. Applied. Well I did it because I needed it (if you recall, I was the one who orriginally requested the fullscreen feature) - that's what FOSS is all about r

Re: [lazarus] True fullscreen mode - GTK2 Patch

2006-10-04 Thread Mattias Gaertner
On Wed, 4 Oct 2006 14:57:09 +0200 "A.J. Venter" <[EMAIL PROTECTED]> wrote: > The attached patch makes SetFormFullScreen work for GTK2 apps as well > as GTK1 Thanks. Applied. > > I did not yet port GrabMouseToForm or GrabKeyboardToForm - mostly > because I honestly don't know how yet. Mattias

Re: [lazarus] True fullscreen mode - GTK2 Patch

2006-10-04 Thread A.J. Venter
The attached patch makes SetFormFullScreen work for GTK2 apps as well as GTK1 I did not yet port GrabMouseToForm or GrabKeyboardToForm - mostly because I honestly don't know how yet. A.J. -- "80% Of a hardware engineer's job is application of the uncertainty principle. 80% of a software engine

Re: [lazarus] True fullscreen mode

2006-08-22 Thread Marc Weustink
Sorry for the late responce, I was away for a few days. Mattias wrote: On Thu, 17 Aug 2006 14:51:17 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: Mattias wrote: [snip] I added those functions to gtkproc.pp: procedure SetWindowFullScreen(AForm: TCustomForm; const AValue: Boolean); procedu

Re: [lazarus] True fullscreen mode

2006-08-17 Thread Mattias
On Thu, 17 Aug 2006 14:51:17 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: > Mattias wrote: > > On Tue, 15 Aug 2006 13:19:51 -0400 > > Andrew Haines <[EMAIL PROTECTED]> wrote: > > > >> A.J. Venter wrote: > > Basically I don't know if lazarus CAN do what I need for this > > part... and be

Re: [lazarus] True fullscreen mode

2006-08-17 Thread Mattias
On Thu, 17 Aug 2006 14:26:53 +0200 "A.J. Venter" <[EMAIL PROTECTED]> wrote: > > In my own Free Pascal widget set, I debated the same issue a few weeks > > back. I concluded that the Window State method using 'wsFullScreen' is > > the better approach. The reason being - if you look at the > > Bord

Re: [lazarus] True fullscreen mode

2006-08-17 Thread Marc Weustink
Mattias wrote: On Tue, 15 Aug 2006 13:19:51 -0400 Andrew Haines <[EMAIL PROTECTED]> wrote: A.J. Venter wrote: Basically I don't know if lazarus CAN do what I need for this part... and before I can finalize design, I need to know if this will be a form inside the app or a sepperate program alto

Re: [lazarus] True fullscreen mode

2006-08-17 Thread A.J. Venter
> In my own Free Pascal widget set, I debated the same issue a few weeks > back. I concluded that the Window State method using 'wsFullScreen' is > the better approach. The reason being - if you look at the > BorderSyle, you can have Dialogs Windows and Tool Windows. They are > pretty much the s

Re: [lazarus] True fullscreen mode

2006-08-17 Thread Michael Van Canneyt
On Thu, 17 Aug 2006, Mattias wrote: On Tue, 15 Aug 2006 13:19:51 -0400 Andrew Haines <[EMAIL PROTECTED]> wrote: Form2X11Window Thanks. I added those functions to gtkproc.pp: procedure SetWindowFullScreen(AForm: TCustomForm; const AValue: Boolean); procedure GrabKeyBoardToForm(AForm: TCust

Re: [lazarus] True fullscreen mode

2006-08-17 Thread Graeme Geldenhuys
On 8/17/06, Mattias <[EMAIL PROTECTED]> wrote: Now we need some nice function names for the LCL. In some sense fullscreen is a windowstate. So maybe we should add it 'wsFullScreen' to TWindowState. OTOH a fullscreen is just a special wsMaximized, so a FullScreen boolean property might be better.

Re: [lazarus] True fullscreen mode

2006-08-17 Thread Mattias
On Tue, 15 Aug 2006 13:19:51 -0400 Andrew Haines <[EMAIL PROTECTED]> wrote: > A.J. Venter wrote: > >>> Basically I don't know if lazarus CAN do what I need for this > >>> part... and before I can finalize design, I need to know if this > >>> will be a form inside the app or a sepperate program alt

Re: [lazarus] True fullscreen mode

2006-08-15 Thread Andrew Haines
A.J. Venter wrote: >>> Basically I don't know if lazarus CAN do what I need for this part... and >>> before I can finalize design, I need to know if this will be a form >>> inside the app or a sepperate program altogether acting as a plugin. >> I'm not sure that X/The Window manager can do what you

Re: [lazarus] True fullscreen mode

2006-08-10 Thread Graeme Geldenhuys
On 8/9/06, A.J. Venter <[EMAIL PROTECTED]> wrote: Either way - the consensus seems to be that lazarus cannot do it at present ? Maybe not as a component as you decribed (though that is an excellent idea), but definately via platform dependent API calls it can. Regards, Graeme. -- There's no

Re: [lazarus] True fullscreen mode

2006-08-09 Thread Graeme Geldenhuys
It is possible under both Linux and Windows. Under windows with Delphi, we set the forms borderstyle := bsNone. Hide the TaskBar with a windows API call, Disable Ctrl-Alt-Del (and all its friends) with an API call. Then set the Form maximized (or the size of the desktop). I can post the code fo

Re: [lazarus] True fullscreen mode

2006-08-09 Thread Felipe Monteiro de Carvalho
On 8/9/06, A.J. Venter <[EMAIL PROTECTED]> wrote: Either way - the consensus seems to be that lazarus cannot do it at present ? It´s not that Lazarus cannot do it. It is possible, but not implemented. Starting with the Handle property of Forms you should be able to use the necessary Gtk and/or

Re: [lazarus] True fullscreen mode

2006-08-09 Thread A.J. Venter
> > Basically I don't know if lazarus CAN do what I need for this part... and > > before I can finalize design, I need to know if this will be a form > > inside the app or a sepperate program altogether acting as a plugin. > > I'm not sure that X/The Window manager can do what you want ? > This is

Re: [lazarus] True fullscreen mode

2006-08-09 Thread Micha Nelissen
Michael Van Canneyt wrote: >> What I need is a way to do a TRUE fullscreen mode form. Specifically this >> form >> should make it IMPOSSIBLE to get to the desktop behind it until it's closed. >> >> It should capture the keyboard ENTIRELY so that Alt+Tab won't work - and >> cover >> up all icons

Re: [lazarus] True fullscreen mode

2006-08-09 Thread Michael Van Canneyt
On Wed, 9 Aug 2006, A.J. Venter wrote: > Hi all, > I am facing an interesting challenge - I don't know if lazarus CAN do what I > want, if not I suppose I shall have to write an extra plugin using plain > fpc+sdl - though I would VERY much prefer not to have to. > > What I need is a way to do

[lazarus] True fullscreen mode

2006-08-09 Thread A.J. Venter
Hi all, I am facing an interesting challenge - I don't know if lazarus CAN do what I want, if not I suppose I shall have to write an extra plugin using plain fpc+sdl - though I would VERY much prefer not to have to. What I need is a way to do a TRUE fullscreen mode form. Specifically this form