Author Topic: GUI designer  (Read 8999 times)

Paulo

  • Guest
GUI designer
« on: August 18, 2013, 11:27:25 PM »
Hi all

First post and wasn't quite sure where to post this, my apologies if it's in the wrong place.

Been using MASM32 for some time and although the new version of MASM has lots of useful tools, it doesn't have a GUI designer.
Call it laziness but it would be really nice to have one which allows users to "draw" the GUI which then would create the asm template.
Something similar to LB workshop which creates Basic code but for LibertyBasic.
Screen shot below.

Does anyone know if something like this exists for MASM?
Regards
Paulo.


jj2007

  • Member
  • *****
  • Posts: 9635
  • Assembler is fun ;-)
    • MasmBasic
Re: GUI designer
« Reply #1 on: August 18, 2013, 11:40:37 PM »
Hi Paulo,

You may try ResEd from the GeneSys project - I attach it, hoping that Erol or Paul can add more info (and please, tell me if it's ok to post it here, otherwise I'll take it off immediately).

Welcome to the Forum :t

EDIT: Attachment removed, Hutch' post points to a much more recent version of the same ResEd made by Ketil Olsen.

Paulo

  • Guest
Re: GUI designer
« Reply #2 on: August 18, 2013, 11:42:58 PM »
Hi jj2007

Thank you, I have downloaded it and will give it a try.

Regards
Paulo.


hutch--

  • Administrator
  • Member
  • ******
  • Posts: 6582
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: GUI designer
« Reply #3 on: August 19, 2013, 12:09:26 AM »
Paolo,

Have a look at this topic in the MASM Forum.

http://masm32.com/board/index.php?topic=239.0
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

Paulo

  • Guest
Re: GUI designer
« Reply #4 on: August 19, 2013, 12:23:56 AM »
Thank you hutch, looks good.

Regards
Paulo.

Paulo

  • Guest
Re: GUI designer
« Reply #5 on: August 19, 2013, 12:26:35 AM »


EDIT: Attachment removed, Hutch' post points to a much more recent version of the same ResEd made by Ketil Olsen.

OK, I will get rid of the old version I downloaded and concentrate on the one hutch pointed me to.
Thanks.
Paulo.


dedndave

  • Member
  • *****
  • Posts: 8823
  • Still using Abacus 2.0
    • DednDave
Re: GUI designer
« Reply #6 on: August 19, 2013, 12:58:44 AM »

Paulo

  • Guest
Re: GUI designer
« Reply #7 on: August 19, 2013, 01:31:31 AM »
Thanks dedndave, will check them out.

Paulo.


Gunther

  • Member
  • *****
  • Posts: 3585
  • Forgive your enemies, but never forget their names
Re: GUI designer
« Reply #8 on: August 19, 2013, 02:19:11 AM »
Hi Paulo,

welcome to the forum. Have fun.

Gunther
Get your facts first, and then you can distort them.

Paulo

  • Guest
Re: GUI designer
« Reply #9 on: August 19, 2013, 03:18:50 AM »
Thank you Gunther

Regards
Paulo.

Paulo

  • Guest
Re: GUI designer
« Reply #10 on: August 19, 2013, 10:37:04 PM »
Hi all

Had an idea to create my own GUI designer for MASM.
Instead of littering the forum with a long winded post on the details,
I have created three zip files with several jpegs and a text file.
(Reason for the three zip files is due to forum restriction on file sizes).
Total size for all the zips is 1.05MB.

Ideas and comments very welcome.
Regards
Paulo.


Paulo

  • Guest
Re: GUI designer
« Reply #11 on: August 19, 2013, 10:40:43 PM »
Second part

Paulo

  • Guest
Re: GUI designer
« Reply #12 on: August 19, 2013, 10:44:00 PM »
Third zip file.


dedndave

  • Member
  • *****
  • Posts: 8823
  • Still using Abacus 2.0
    • DednDave
Re: GUI designer
« Reply #13 on: August 20, 2013, 12:31:17 AM »
i think i would try to get away from the SVG file front-end
you can create a GUI with sizable/movable boxes without too much difficulty

here is a link to a little example program that has movable dividers
the same type of code can be used to move and/or size a box

http://masm32.com/board/index.php?topic=1026.msg10028#msg10028

Paulo

  • Guest
Re: GUI designer
« Reply #14 on: August 20, 2013, 02:43:07 AM »
Hi dedndave

Thanks for the feedback.

As regards using the Inkscape (SVG) frontend, my thinking as follows:

1) The "editor" is already done and has all the drag and movement facilities one needs.

2) It produces SVG (amongst others) files which are plain text, well structured and relatively easy to parse.

3) Inkscape supports plugins (written in Python) so technically the whole process could be done within Inkscape.

4) To make a GUI app to support most of the windows controls would be a huge task, where as using SVG plus a parser
  one only needs to concentrate on the parser.

Another advantage of using the intermediate SVG step and also inc files for the parser is that each step is easily editable
and allows for easy tweaking to suit individual needs without the need to modify the executable.

Had a look at your example and it's certainly another possible approach although the code would need a lot of adding to
in order to support more windows controls or have I missed something?

Paulo.