Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-06

fpGUI, OpenGL, WebGL

14 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Schnell

FPgui can create a GUI directly using a graphic subsystem without needing an external Widget Set. Right now it can use X11.

Maybe it can be made using OpenGL.

This done it maybe can be made using WebGL and with that it could create a remote GUI on a (Firefox or Chrome) browser (which, IMHO, would be a very desirable feature).

Any thoughts ?

-Michael

Reply by email

Unknown author
to Michael Schnell: FPgui can create a GUI directly using a graphic subsystem without needing an external…
Michael Schnell wrote
FPgui can create a GUI directly using a graphic subsystem without needing an external Widget Set. Right now it can use X11. Maybe it can be made using OpenGL.

This has been already done earlier. With quite good results actually. The basics are implemented it's just a matter of resolving the dirty details one by one and getting the behaviour exactly the same as on the other backends.

http://scandraid.svn.sourceforge.net/viewvc/scandraid/src/branches/fpgui/

Regards, Darius

Reply by email

Michael Schnell
to Unknown author: On Mon, 20 Jun 2011 14:17:41 +0200, Michael Schnell This has been already done earlier.…
Show quoted text 6 lines
This has been already done earlier. With quite good results actually. The basics are implemented it's just a matter of resolving the dirty details one by one and getting the behaviour exactly the same as on the other backends.

Sounds great. With OpenGL working I suppose WebGL is doable

I am just interested in the "LCL"-kind of interfacing fpGUI. Unfortunately right now I can't compile such a project with "X11" from the current svn :( (this did work some months ago). So doing additional tests does not make much sense for me in the moment.

Thanks.
-Michael

Reply by email

Vincent Snijders
to Michael Schnell: Sorry but impossible. homeip.net is blocked by our firewall :( -Michael

2011/6/20 Michael Schnell :

Show quoted text 7 lines
On 06/20/2011 02:38 PM, Felipe Monteiro de Carvalho wrote: > > Yes, please discuss fpgui in the fpgui newsgroup: > > http://opensoft.homeip.net:8080/webnew Sorry but impossible. homeip.net is blocked by our firewall :(

Then I suggest that you contact the maintainers of fpgui directly or use the Lazarus-other mailing list for these off topic posts.

Vincent

Reply by email

Marco van de Voort
to Michael Schnell: FPgui can create a GUI directly using a graphic subsystem without needing an external…
Michael Schnell wrote 10 lines
FPgui can create a GUI directly using a graphic subsystem without needing an external Widget Set. Right now it can use X11. Maybe it can be made using OpenGL. This done it maybe can be made using WebGL and with that it could create a remote GUI on a (Firefox or Chrome) browser (which, IMHO, would be a very desirable feature). Any thoughts ?

When will you have it ready?

Reply by email

Michael Schnell
to Vincent Snijders: 2011/6/20 Michael Schnell : Then I suggest that you contact the maintainers of fpgui…
Vincent Snijders wrote
Then I suggest that you contact the maintainers of fpgui directly or use the Lazarus-other mailing list for these off topic posts.

While I do know that fpGUI itself is not distributed within the Lazarus svn, Lazarus can provide the fpGUI Widget type selectable in the project options (and as said in the original message I only refer to this "Lazarus-" Type of fpGUI, not the "stand-alone" version. That (and the fact that I esteem fpGUI a very decent (work in progress) part of Lazarus, I did suppose that further viable extensions of same should be discussed here.

-Michael

Reply by email

Graeme Geldenhuys
to Michael Schnell: While I do know that fpGUI itself is not distributed within the Lazarus svn, Lazarus can…
Michael Schnell wrote
While I do know that fpGUI itself is not distributed within the Lazarus svn, Lazarus can provide the fpGUI Widget type selectable in the project options (and as said in the original message I only refer to this

Lazarus LCL-fpGUI widgetset discussions are indeed on-topic here. I guess your original message just wasn't that clear. And just to be clear, fpGUI Toolkit discussions (non LCL-xxx related) must indeed be done in the fpGUI newsgroups, or you can email me directly.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Graeme Geldenhuys
to Michael Schnell: The basis for this would be an at least partly decently working "Lazarus-" version of…
Michael Schnell wrote
"Lazarus-" version of fpGUI for X11. Unfortunately right now I'm not even able to compile it. (I keep trying with each update in either svn.)

I haven't tried to compile LCL-fpGUI in a while. What is the exact error message that you get, then I'll take a quick look.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Mattias Gaertner
to Michael Schnell: While I do know that fpGUI itself is not distributed within the Lazarus svn, Lazarus can…

?
?

Michael Schnell hat am 21. Juni 2011 um 12:40 geschrieben:

Show quoted text 10 lines
On 06/20/2011 06:57 PM, Vincent Snijders wrote: > Then I suggest that you contact the maintainers of fpgui directly or > use the Lazarus-other mailing list for these off topic posts. While I do know that fpGUI itself is not distributed within the Lazarus svn, Lazarus can provide the fpGUI Widget type selectable in the project options (and as said in the original message I only refer to this "Lazarus-" Type of fpGUI, not the "stand-alone" version. That (and the fact that I esteem fpGUI a very decent (work in progress) part of Lazarus, I did suppose that further viable extensions of same should be discussed here.

You can discuss how to use the opengl backend of gtk2, fpgui, etc with the LCL on this list. But it makes no sense to discuss the implementation of the opengl backend for gtk2, fpgui, etc here.

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110621/bc915939/attachment.html>

Reply by email

Michael Schnell
to Graeme Geldenhuys: I haven't tried to compile LCL-fpGUI in a while. What is the exact error message that you…
Graeme Geldenhuys wrote
I haven't tried to compile LCL-fpGUI in a while. What is the exact error message that you get, then I'll take a quick look.

Great ! Thanks !

===============================================
PPU Loading
/home/mschnell/Downloads/svn/lazarus/trunk/lcl/units/i386-linux/fpgui/fpg_impl.ppu PPU Invalid Version 128
fpgui/corelib/fpg_base.pas(27,3) Fatal: Can't find unit fpg_impl used by fpg_base
==============================================

-Michael

Reply by email

Graeme Geldenhuys
to Michael Schnell
Michael Schnell wrote
On 06/21/2011 01:06 PM, Graeme Geldenhuys wrote: > I haven't tried to compile LCL-fpGUI in a while. What is the exact error > message that you get, then I'll take a quick look. Great ! Thanks !

Patch supplied in Mantis report #19603.
http://bugs.freepascal.org/view.php?id=19603

Attached is a screenshot showing a test LCL-fpGUI project running.

PS:
Wow, the whole compiling of LCL has changed a lot in Lazarus Trunk! Even changing the target widgetset in a project is now very different. Took a while to figure it out, but not too bad. Just another thing I'll have to get used too. ;-)

Show quoted text 7 lines
=============================================== PPU Loading /home/mschnell/Downloads/svn/lazarus/trunk/lcl/units/i386-linux/fpgui/fpg_impl.ppu PPU Invalid Version 128 fpgui/corelib/fpg_base.pas(27,3) Fatal: Can't find unit fpg_impl used by fpg_base ==============================================

I didn't get that error. I got a compiler error due to class name changes in fpGUI itself. Anyway, your problem looks like there are multiple copies of *.ppu files lying around or something. I would recommend you clear out the lcl/units/i386-linux/fpgui/ directory, and make sure your symlinks to fpGUI are setup correctly. Attached is a listing of my lcl/interfaces/fpgui/ directory. NOTE the two symlinks pointing to the actual fpGUI repository.

To test, I used the latest Lazarus Trunk r31315, and latest fpGUI 'master' branch. Compiled with 64bit FPC 2.4.5 under Ubuntu 11.04.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: lcl-fpgui_test.png Type: image/png Size: 7334 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110621/a91e6aae/attachment-0001.png> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: fpgui_listing.txt URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110621/a91e6aae/attachment-0001.txt>

Reply by email