Re: LC on Web

Posted by dxli on
URL: https://forum.librecad.org/LC-on-Web-tp5713269p5713279.html

Try to minimize the GUI, focus on the idea of the engine and script support, and what's in my mind:

1, no need to create buttons like in v2;
2, there's one canvas for 2D drawing rendering;
3, there's one input area for Scripts for commands to the engine. Similar to the current Lua support in v3, but probably be in JavaScript.

bhattigurjot wrote
Then we will drop emscripten-qt and will only use emscripten to port c++ code. We need to build a web GUI, then we will connect c++ and JS using one of the methods as described here:
http://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/

To create a GUI we can use some external framework.
Some open source frameworks like:
Semantic UI http://semantic-ui.com/
UI Kit http://getuikit.com/
OpenUI5 http://openui5.org/

Or non-open but free
jQWidgets http://www.jqwidgets.com/license/

Or if you already have another idea, please share that.