EditorFactory - Module for object management in a Canvas

Share your advanced PureBasic knowledge/code with the community.
User avatar
STARGÅTE
Addict
Addict
Posts: 2063
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: EditorFactory - Module for object management in a Canvas

Post by STARGÅTE »

Dear all,

I forgot to post an update which was done in August. It is just a small update with only one change in one function, but this change allows more flexibility for customized user interfaces.
Now, ObjectState() can be used in drawing callbacks to check the state of the object and of the mouse in relation to the object, e.g. disabled, hovered, pushed, ...
This allows an easy case management when drawing a custom gadget as it can be seen in Example06_Gadgets.pb
Image

New Version 1.17.01
  • Added: Example #6: Example06_Gadgets.pb
  • Changed: More states returned by ObjectState() to create custom gadget easily, see example #6
Download:
EditorFactory.pbi (Version 1.17.01, 2021-08-07)
EditorFactory-1-17-01.zip (Archive with include and examples)
The include is shared under the CC BY-NC 4.0 licence.
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
punak
User
User
Posts: 63
Joined: Tue Sep 07, 2021 12:08 pm

Re: EditorFactory - Module for object management in a Canvas

Post by punak »

to the module developer: Does this module have a new update?
User avatar
STARGÅTE
Addict
Addict
Posts: 2063
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: EditorFactory - Module for object management in a Canvas

Post by STARGÅTE »

No, not from my side. Last Version is 1.17
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
User avatar
the.weavster
Addict
Addict
Posts: 1531
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: EditorFactory - Module for object management in a Canvas

Post by the.weavster »

@ShadowStorm

did you test the module?
Today, for the first time.

what did the name of the module mean to you?
Nothing, otherwise I would probably have tried it sooner.

were you disappointed by the module, and if so, why in detail?
No, it's very good.

do you think the name of the module is appropriate for what it does?
I believe the term used by Corona Labs, Pixi JS and Create JS is Display Objects

What would you like to do with it?
I have an idea for a Betfair trading app and this module would be ideal for it.

do you have any ideas for improvement, things to review?
Dual license so the option to use it commercially exists.
User avatar
ChrisR
Addict
Addict
Posts: 1124
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: EditorFactory - Module for object management in a Canvas

Post by ChrisR »

The biggest problem to be used is the license.
I previously talked about it with ShadowStorm and I think I'm not the only one (Stargate too I think), but unfortunately I couldn't convince him :(
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: EditorFactory - Module for object management in a Canvas

Post by StarBootics »

ChrisR wrote: Wed Oct 26, 2022 12:29 pm The biggest problem to be used is the license.
I previously talked about it with ShadowStorm and I think I'm not the only one (Stargate too I think), but unfortunately I couldn't convince him :(
I also unsuccessfully tried to convince him about the license issue earlier this year. He is totally against anyone who can make money at his expense.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
mk-soft
Always Here
Always Here
Posts: 5313
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: EditorFactory - Module for object management in a Canvas

Post by mk-soft »

Because of the licence, this module is also not of interest to me, as I sometimes write special software for our customers and this is therefore not free.

If I need something like this, I will probably have to write it myself.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
the.weavster
Addict
Addict
Posts: 1531
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: EditorFactory - Module for object management in a Canvas

Post by the.weavster »

StarBootics wrote: Wed Oct 26, 2022 1:16 pmHe is totally against anyone who can make money at his expense.
I guessed that was the case which is why I suggested dual licensing - free for non-commercial or a fee to remove that restriction.
By their own admission EditorFactory hasn't gained any traction so what do they have to lose now? May as well try to recoup something from the hours spent already.

I think there's the fundamentals to make some really nice widgets here so it's a shame it's going to waste.
mestnyi
Addict
Addict
Posts: 995
Joined: Mon Nov 25, 2013 6:41 am

Re: EditorFactory - Module for object management in a Canvas

Post by mestnyi »

Have you seen my module? why don't you use it?
https://github.com/mestnyi33/widget
User avatar
the.weavster
Addict
Addict
Posts: 1531
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: EditorFactory - Module for object management in a Canvas

Post by the.weavster »

mestnyi wrote: Wed Oct 26, 2022 5:46 pm Have you seen my module?
Hi mestnyi

I tried to run demo.pb (on Pop!_OS) but it couldn't find the cursors module and the only cursors.pb I could find in your source tree seemed to be very MAC specific.
Mesa
Enthusiast
Enthusiast
Posts: 342
Joined: Fri Feb 24, 2012 10:19 am

Re: EditorFactory - Module for object management in a Canvas

Post by Mesa »

Hi mestnyi,

I've got a problem with the zip file, macro pb(), path github, etc.

M.
mestnyi
Addict
Addict
Posts: 995
Joined: Mon Nov 25, 2013 6:41 am

Re: EditorFactory - Module for object management in a Canvas

Post by mestnyi »

Ok
Last edited by mestnyi on Sun Oct 30, 2022 5:21 pm, edited 1 time in total.
User avatar
HeX0R
Addict
Addict
Posts: 973
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: EditorFactory - Module for object management in a Canvas

Post by HeX0R »

You should better use an own thread and not "hijacking" this one.
mestnyi
Addict
Addict
Posts: 995
Joined: Mon Nov 25, 2013 6:41 am

Re: EditorFactory - Module for object management in a Canvas

Post by mestnyi »

Ok
superadnim
Enthusiast
Enthusiast
Posts: 480
Joined: Thu Jul 27, 2006 4:06 am

Re: EditorFactory - Module for object management in a Canvas

Post by superadnim »

Any chance of adding load and save functions?

:lol: should I bash the keyboard and give up?
:?
Post Reply