Pull request #358 (GitHub/freebasic/fbc)

Headers, Bindings, Libraries for use with FreeBASIC, Please include example of use to help ensure they are tested and usable.
Post Reply
ktuee753
Posts: 12
Joined: Mar 23, 2022 17:04

Pull request #358 (GitHub/freebasic/fbc)

Post by ktuee753 »

I'm not new member. I joined since 2020 but lost that account. I'm the guy created SGL binding for FreeBASIC.

viewtopic.php?t=28510

https://github.com/ruanjiaxing/SGL-FreeBASIC

Recently someone forked my archived code and make a pull request to include it into fbc.
fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Pull request #358 (GitHub/freebasic/fbc)

Post by fxm »

ktuee753 wrote: Mar 30, 2022 6:04 I'm not new member. I joined since 2020 but lost that account. I'm the guy created SGL binding for FreeBASIC.

viewtopic.php?t=28510

https://github.com/ruanjiaxing/SGL-FreeBASIC

Recently someone forked my archived code and make a pull request to include it into fbc.

3oheicrw's only post ('Pull request #358 (GitHub)') referring to Add Small GUI Library #358 Pull Request has been disapproved on March 21.

coderJeff, have you seen such a Pull Request in github/freebasic/fbc ?
ktuee753
Posts: 12
Joined: Mar 23, 2022 17:04

Re: Pull request #358 (GitHub/freebasic/fbc)

Post by ktuee753 »

fxm wrote: Mar 30, 2022 8:44 3oheicrw's only post ('Pull request #358 (GitHub)') referring to Add Small GUI Library #358 Pull Request has been disapproved on March 21.

coderJeff, have you seen such a Pull Request in github/freebasic/fbc ?
No. I'm totally OK with this. If he maintains it well. I no longer developed in FreeBASIC. Just visit this place a bit and I will go.

Anyone keep an eye on the github repo could see this pull request. I have no objections to his pull request.
SARG
Posts: 1756
Joined: May 27, 2005 7:15
Location: FRANCE

Re: Pull request #358 (GitHub/freebasic/fbc)

Post by SARG »

fxm wrote: Mar 30, 2022 8:44 coderJeff, have you seen such a Pull Request in github/freebasic/fbc ?
Jeff saw it and commented :
Is the original library still supported / developed? This does not seem to be a popular library, and if you are willing to support freebasic bindings, what is the motivation to include with freebasic distribution?
But no answer from 3oheicrw yet.
3oheicrw
Posts: 25
Joined: Mar 21, 2022 6:41

Re: Pull request #358 (GitHub/freebasic/fbc)

Post by 3oheicrw »

SARG wrote: Mar 30, 2022 10:06 But no answer from 3oheicrw yet.
I replied.
fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Pull request #358 (GitHub/freebasic/fbc)

Post by fxm »

3oheicrw
Posts: 25
Joined: Mar 21, 2022 6:41

Re: Pull request #358 (GitHub/freebasic/fbc)

Post by 3oheicrw »

fxm wrote: Apr 02, 2022 4:56 See Add Small GUI Library #358 comment.
There is nothing new. I'm still waiting for his anwser.

Edit: rejected.
aurelVZAB
Posts: 666
Joined: Jul 02, 2008 14:55
Contact:

Re: Pull request #358 (GitHub/freebasic/fbc)

Post by aurelVZAB »

Small GUI Library ...
is what ?
another set of gui wrapper functions ..for fun
i guess... :D
3oheicrw
Posts: 25
Joined: Mar 21, 2022 6:41

Re: Pull request #358 (GitHub/freebasic/fbc)

Post by 3oheicrw »

aurelVZAB wrote: Apr 04, 2022 20:42 Small GUI Library ...
is what ?
another set of gui wrapper functions ..for fun
i guess... :D
SGL really aid the development of Windows API based applications. Henrin did develop commercial applications with it (before he retired). With the same features set the SGL based application will always has fewer code than pure Windows API. But being a very thin abstraction it doesn't cause any overheat. SGL based applications run fine on Wine but applications based on complex abstraction over the Windows API like the Lazarus LCL usually have problems, sometimes one button's caption was blank, sometimes the application's layout is messed up. You will never encounter such problems with SGL based applications. Finally, SGL based applications are small in size and very fast.
aurelVZAB
Posts: 666
Joined: Jul 02, 2008 14:55
Contact:

Re: Pull request #358 (GitHub/freebasic/fbc)

Post by aurelVZAB »

OK ..as far i understand that is GUI wrapper written in Peles C
and where we can download that SGL...
i don't see any download link?

EDIT:
Ok i found it
and this is example :

Code: Select all

#include "sgl.h"
    int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPInst, PSTR cmdLine, int cmdShow)
    {
       SGL_Init(hInst, NULL) ;
       HWND panel = SGL_New(0, SGL_PANEL, 0, "SGL", -1, -1) ;
       HWND btn   = SGL_New(panel, SGL_CTRL_BUTTON, 0, "Hello!", 0, 0) ;
       SGL_Layout(panel) ;
       SGL_VisibleSet(panel, 1) ;
       SGL_Run() ;
       SGL_Exit() ;
       return 0 ;
    } 


But what this lib have with revamping forum topic :?
Last edited by fxm on Apr 05, 2022 9:37, edited 2 times in total.
Reason: Relevant posts moved to Libraries & Headers.
Post Reply