Recent

Author Topic: fpgui on Mac OSX ? windows 98 ?  (Read 12000 times)

dieselnutjob

  • Full Member
  • ***
  • Posts: 141
fpgui on Mac OSX ? windows 98 ?
« on: April 08, 2014, 10:57:34 pm »
I have been developing a complex piece of software for some time, but the interesting thing is that the gui is not complex at all.  Basically it polls functions in another unit looking for text to slap into a memo or a gridlist, and it sends requests to functions if the user clicks on a button.

The other unit is actually in a different thread so that users can go mental on the gui and it won't stall the main logic of the software (it communicates with another device so I can't have it freeze up).

I haven't changed the gui for a long time, all my work these days is on the backend protocols in the non gui units.

Today I started having a play with fpgui.  I got it working on windows vista.  I got it working on Linux.  I'm quite impressed and I think it would be a good fit for my software as it only uses a few buttons, memos and comboboxes.

I like the fact that it doesn't need gtk or qt

However I don't own a Mac.  I will have to borrow a Mac to compile and test.  My current software worked on a mac last time I checked.

Is there anything that will be a problem about fpgui on a Mac?  My customers probably aren't that bothered what it looks like as long as it works.

Will a windows app compiled on Vista or 7 with fpgui also work if the .exe is given to a customer with Windows 98 ( I have some )?

thanks for any opinions, Philip
« Last Edit: April 08, 2014, 11:15:05 pm by dieselnutjob »

Fred vS

  • Hero Member
  • *****
  • Posts: 1675
    • miXimum is the DJ's best friend
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #1 on: April 08, 2014, 11:10:03 pm »
Quote
Is there anything that will be a problem about fpgui on a Mac?  My customers probably aren't that bothered what it looks like as long as it works.

Will a windows app compiled on Vista or 7 with fpgui also work if the .exe is given to a customer with Windows 98 ( I have some )?

fpGUI:
Tested on OSX => no problem.
Tested compiled on Win7 and run on Win98/Vista/2000 =>  no problem.
Tested on Linux 32 and 64 bit => no problem.
Tested on FreeBSD => No problem:

fpGUIlib:
Tested with Java/Android => no problem.
Tested with Python => no problem.
Tested with CNet => no problem.
Tested with Delphi => no problem.
Tested with Basic => no problem.

 ;)
« Last Edit: April 08, 2014, 11:14:09 pm by Fred vS »
I use Lazarus 1.8.0 32/64 and FPC 3.0.3 32/64 on Linux Mint Mate 17 32/64, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

dieselnutjob

  • Full Member
  • ***
  • Posts: 141
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #2 on: April 08, 2014, 11:19:03 pm »
thanks, that is encouraging

another question

should I be looking at custom drawn controls?  I only first read about it 10 minutes ago. Seems to have similar advantages.

easier or harder to do than fpgui?

Fred vS

  • Hero Member
  • *****
  • Posts: 1675
    • miXimum is the DJ's best friend
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #3 on: April 08, 2014, 11:30:32 pm »
Quote
should I be looking at custom drawn controls?  I only first read about it 10 minutes ago. Seems to have similar advantages.

fpGUI is totally independent and does not need LCL.
fpGUI is 100 % pure fpc from a to Z.
Once compiled, your application does not need any dependencies.
The size of your exe will be less than 1/2 the size of equivalent LCL application.

Quote
easier or harder to do than fpgui?

fpGUI is really easy.
Hum, Custom Draw maybe too, i do not know... :-X
I use Lazarus 1.8.0 32/64 and FPC 3.0.3 32/64 on Linux Mint Mate 17 32/64, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

dieselnutjob

  • Full Member
  • ***
  • Posts: 141
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #4 on: April 08, 2014, 11:47:30 pm »
will I still need "Apple Developer Tools" ?

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #5 on: April 09, 2014, 12:18:42 am »
thanks, that is encouraging

another question

should I be looking at custom drawn controls?  I only first read about it 10 minutes ago. Seems to have similar advantages.

easier or harder to do than fpgui?

If my understanding is correct, FpGui/MseIde and 'custom drawn' are essentially doing the same thing. They both are 'LCL-less' drawing. The Custom Draw route is a more low level approach (no ide), where FpGui and MseIde are providing you with a custom ide with their own components.

 

dieselnutjob

  • Full Member
  • ***
  • Posts: 141
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #6 on: April 09, 2014, 12:28:15 am »
is MSEIDE using fpgui under the hood? or something else?

on the MSEIDE site says it only works in WIndows / Linux but if it is just fpgui underneath....

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #7 on: April 09, 2014, 01:03:22 am »
is MSEIDE using fpgui under the hood? or something else?

on the MSEIDE site says it only works in WIndows / Linux but if it is just fpgui underneath....

No, MseIde and Fpgui are separate IDE's and implement their own 'custom drawn' implementation. MseIde is much is the more mature implementation and was here before Fpgui. MseIde is quite impressive. Industrial grade stuff.

Fpgui is an MseIde equivalent which is breaking new ground on the graphics side. Fpgui is using Aggpas as a backend for drawing, which does sub-pixel accuracy drawing. Stunning graphics like Photoshop quality. Sort of bare-metal, direct to X11 compositing. No heavy middle layers (Gtk/Qt).


Leledumbo

  • Hero Member
  • *****
  • Posts: 8111
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #8 on: April 09, 2014, 05:54:39 am »
Quote
is MSEIDE using fpgui under the hood? or something else?
No, AFAIK fpGUI takes a bit inspiration (or maybe some code) a long time ago from mseGUI, but today they're totally different.

Graeme

  • Hero Member
  • *****
  • Posts: 1430
    • Graeme on the web
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #9 on: April 11, 2014, 03:05:00 pm »
If my understanding is correct, FpGui/MseIde and 'custom drawn' are essentially doing the same thing. They both are 'LCL-less' drawing.
Yes and No.  fpGUI and MSEgui are independent projects with no dependencies on LCL. They both talk directly to low level OS API's, but have a developer friendly API hiding the need to learning the low level OS API's. They included a full set of widgets/controls to write advance applications too.

"Custom Drawn" (if I am referring to the same thing you are) is custom drawing using LCL's Canvas class - thus a dependency on LCL. There was an attempt to make a LCL-CustomDrawn widgetset (widgets/controls like buttons, comboboxes etc), but it didn't get very far, and last I checked, what was there was still very buggy and alpha state.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Graeme

  • Hero Member
  • *****
  • Posts: 1430
    • Graeme on the web
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #10 on: April 11, 2014, 03:08:31 pm »
is MSEIDE using fpgui under the hood? or something else?
No, MSEide uses its related MSEgui framework. The full project name is actually "MSEide+MSegui".

Quote
on the MSEIDE site says it only works in WIndows / Linux but if it is just fpgui underneath....
MSEide+MSEgui only targets 32-bit Windows and Linux as the official supported platforms. FreeBSD, MacOSX and 64-bit are not supported.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Graeme

  • Hero Member
  • *****
  • Posts: 1430
    • Graeme on the web
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #11 on: April 11, 2014, 03:17:45 pm »
MseIde and Fpgui are separate IDE's and implement their own 'custom drawn' implementation.
This is not correct.

MSEide is an IDE. MSEgui and fpGUI are graphics/widgetset frameworks that are 100% implemented in Object Pascal and supply a full range of custom drawn widgets/controls. fpGUI also includes a customised AggPas backend, which gives advanced 2D graphics capabilities and can completely bypass the graphics painting requirements of X11 or GDI.

fpGUI doesn't force dependency on any specific IDE - that is one of its design goals. You can develop your fpGUI-based applications using Lazarus IDE, MSEide, Geany, Notepad, gEdit, vi etc. Your choice!  Yes, fpGUI includes an IDE application, but that is more of an "advanced demo application" - meant to demonstrate more complex usage of fpGUI (because I can't share my commercial work with the public). Maybe someday the demo IDE application will become a fully functioning IDE, but that is not its current intent. fpGUI also includes other handy applications like DocView (help file viewer) and UIDesigner (visual forms designer) - but again, you are not forced to use these.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Graeme

  • Hero Member
  • *****
  • Posts: 1430
    • Graeme on the web
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #12 on: April 11, 2014, 03:20:10 pm »
No, AFAIK fpGUI takes a bit inspiration (or maybe some code) a long time ago from mseGUI, but today they're totally different.
No not at all. I worked on fpGUI for about 2 years before I even heard of MSEide+MSEgui.  I take my fpGUI inspiration from many places, but mostly from Qt and Java.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

mse

  • Sr. Member
  • ****
  • Posts: 286
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #13 on: April 11, 2014, 03:22:40 pm »
MSEide+MSEgui officially supports Linux X86-64 since version 3.0.

Graeme

  • Hero Member
  • *****
  • Posts: 1430
    • Graeme on the web
Re: fpgui on Mac OSX ? windows 98 ?
« Reply #14 on: April 11, 2014, 03:24:48 pm »
MSEide+MSEgui officially supports Linux X86-64 since version 3.0.
Good to know, thanks for clarifying that.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/