Re: r22899 - in /lyx-devel/trunk/src: BufferView.cpp BufferVi...

2008-02-09 Thread Pavel Sanda
> Why is it called 'ui-toggle fullscreen' btw? > Do we have other 'ui-toggle' commands? yes we have, read the doxy ;) and as i read the last mails it will even enlarge. pavel

Re: r22899 - in /lyx-devel/trunk/src: BufferView.cpp BufferVi...

2008-02-09 Thread Andre Poenitz
On Sat, Feb 09, 2008 at 09:13:50PM +0100, Abdelrazak Younes wrote: > Pavel Sanda wrote: > we must make this dependent on some argument from user. will you do it > or should i? You mean in the preference settings? >>> By the way, if you are going to create a panel for the fullscreen mo

Re: r22899 - in /lyx-devel/trunk/src: BufferView.cpp BufferVi...

2008-02-09 Thread Pavel Sanda
>>> we must make this dependent on some argument from user. will you do >>> it or should i? >> You mean in the preference settings? > By the way, if you are going to create a panel for the fullscreen mode nono, i just want to add some parameter for lfun so users are able to

Re: r22899 - in /lyx-devel/trunk/src: BufferView.cpp BufferVi...

2008-02-09 Thread Abdelrazak Younes
Pavel Sanda wrote: we must make this dependent on some argument from user. will you do it or should i? You mean in the preference settings? By the way, if you are going to create a panel for the fullscreen mode nono, i just want to add some parameter for lfun so users are able to control the

Re: r22899 - in /lyx-devel/trunk/src: BufferView.cpp BufferVi...

2008-02-09 Thread Pavel Sanda
> we must make this dependent on some argument from user. will you do it > or should i? You mean in the preference settings? >>> By the way, if you are going to create a panel for the fullscreen mode >> nono, i just want to add some parameter for lfun so users are able to >> control

Re: r22899 - in /lyx-devel/trunk/src: BufferView.cpp BufferVi...

2008-02-09 Thread Abdelrazak Younes
Pavel Sanda wrote: we must make this dependent on some argument from user. will you do it or should i? You mean in the preference settings? By the way, if you are going to create a panel for the fullscreen mode nono, i just want to add some parameter for lfun so users are able to control the

Re: r22899 - in /lyx-devel/trunk/src: BufferView.cpp BufferVi...

2008-02-09 Thread Pavel Sanda
>>> >>> we must make this dependent on some argument from user. will you do it or >>> should i? >> You mean in the preference settings? > > By the way, if you are going to create a panel for the fullscreen mode nono, i just want to add some parameter for lfun so users are able to control the wid

Re: r22899 - in /lyx-devel/trunk/src: BufferView.cpp BufferVi...

2008-02-09 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Pavel Sanda wrote: we must make this dependent on some argument from user. will you do it or should i? You mean in the preference settings? By the way, if you are going to create a panel for the fullscreen mode settings I can suggest three check boxes in addition

Re: r22899 - in /lyx-devel/trunk/src: BufferView.cpp BufferVi...

2008-02-09 Thread Abdelrazak Younes
Pavel Sanda wrote: Author: younes Date: Sat Feb 9 18:20:23 2008 New Revision: 22899 URL: http://www.lyx.org/trac/changeset/22899 Log: Support full screen in BufferView great ! +} + + +int BufferView::rightMargin() const +{ + return full_screen_? width_ / 4 : 10; +} + + +int BufferView

Re: r22899 - in /lyx-devel/trunk/src: BufferView.cpp BufferVi...

2008-02-09 Thread Pavel Sanda
> Author: younes > Date: Sat Feb 9 18:20:23 2008 > New Revision: 22899 > > URL: http://www.lyx.org/trac/changeset/22899 > Log: > Support full screen in BufferView great ! > +} > + > + > +int BufferView::rightMargin() const > +{ > + return full_screen_? width_ / 4 : 10; > +} > + > + > +int B