My simple GUI library/functions

Discussions related to graphics (2D and 3D), animation and games programming
p_m21987
Posts: 177
Joined: Mon 02 Apr 2018, 21:51

My simple GUI library/functions

Post by p_m21987 »

edit: the program I posted has unfortunately been lost, so I've edited this post to remove broken links etc
Last edited by p_m21987 on Wed 26 Dec 2018, 16:48, edited 1 time in total.
guest

Re: My simple GUI library/functions

Post by guest »

Patrick M wrote: Tue 17 Apr 2018, 21:43 I've been working on a very simple (and not very sophisticated) GUI library.
I can see that being useful; well done! When I've needed a similar functionality, and in the absence of such a library, I've used the existing dlglib.bbc library (supplied with BBCSDL) which is intended primarily to provide a 'dialogue-box like' functionality. However it can be leveraged to simulate individual pushbuttons and textboxes by using a dummy 'container' dialogue. See the supplied example programs optics.bbc, polyfit.bbc and solve.bbc for details.

Richard.
roy
Posts: 31
Joined: Mon 02 Apr 2018, 15:48

Re: My simple GUI library/functions

Post by roy »

Hi All

I see Patrick, as upload a zip file to the forum. How is this done?

Thanks Roy
guest

Re: My simple GUI library/functions

Post by guest »

roy wrote: Sun 22 Apr 2018, 11:04 upload a zip file to the forum. How is this done?
It is presumably uploaded as an attachment (whenever you post a message there is an 'Attachments' tab below, as there is as I write this). Although I haven't tried it, you can supposedly also do it by dragging a file into the message box.

However I have enabled attachments only experimentally. As you know I am hosting this forum on a private server at my own expense, and the amount of storage available is relatively small. If the attachments facility is abused, and people start uploading files or images in the 100s of kilobytes region (or larger), I will delete those large files and/or disable the facility.

It is far preferable to link to a file hosted elsewhere, since that doesn't use space on the forum's server. Please always consider that option before attaching a file.

Richard.
p_m21987
Posts: 177
Joined: Mon 02 Apr 2018, 21:51

Re: My simple GUI library/functions

Post by p_m21987 »

Does the forum software allow you to set file attachment size limits? Maybe you could limit it to 10KB per file, or something.
Last edited by p_m21987 on Wed 26 Dec 2018, 16:53, edited 1 time in total.
guest

Re: My simple GUI library/functions

Post by guest »

Patrick M wrote: Sun 22 Apr 2018, 13:19 Does the forum software allow you to set file attachment size limits?
Yes, the maximum file size and the total storage for attachments are configurable, but both are currently set at their default values. It would be premature to set the maximum size to something very small, because we don't yet know to what extent the facility will be used.

The old forum did not allow attachments, so people are used to linking to external files. At the same time, cloud storage services with generous amounts of free storage are commonplace, so there is little reason to use the attachment facility.

I just wanted users to understand that when uploading attachments it's not the storage of some faceless forum hosting company, or a massive organisation such as Google, that they are using, but the webspace of a private individual who is making it available out of his own generosity!

Richard.
roy
Posts: 31
Joined: Mon 02 Apr 2018, 15:48

Re: My simple GUI library/functions

Post by roy »

OK thanks Richard.

Regards Roy
p_m21987
Posts: 177
Joined: Mon 02 Apr 2018, 21:51

Re: My simple GUI library/functions

Post by p_m21987 »

_
Last edited by p_m21987 on Wed 26 Dec 2018, 16:48, edited 1 time in total.
roy
Posts: 31
Joined: Mon 02 Apr 2018, 15:48

Re: My simple GUI library/functions

Post by roy »

Very good program Patrick

Like the painting app.

Takes me back a bit to when we use to make VDU character ;)

Regards Roy
p_m21987
Posts: 177
Joined: Mon 02 Apr 2018, 21:51

Re: My simple GUI library/functions

Post by p_m21987 »

_
Last edited by p_m21987 on Wed 26 Dec 2018, 16:49, edited 1 time in total.