ivmartel / dwv

DICOM Web Viewer: open source zero footprint medical image library.
https://ivmartel.github.io/dwv/
GNU General Public License v3.0
1.68k stars 593 forks source link

Flexible GUI #73

Closed ivmartel closed 10 years ago

ivmartel commented 10 years ago

In order to really be flexible, all GUI elements must be defined at startup. Tools should only update it and not destroy and recreate as it is done now.

mohamedsharaf commented 10 years ago

for GUI elements you are right it should be predefined also i suggest you use canvas framework instead of pure js

ivmartel commented 10 years ago

Not sure I get it, dwv uses HTML5 canvas, see the index.html files. Or do you mean something else?

mohamedsharaf commented 10 years ago

i mean you use javascript canvas framework this will help in many things and adding features will be easier and more developer can contribute in development also will simplify codes

in my point of view the best is http://kineticjs.com/

look at this three links https://github.com/ericdrowell/KineticJS/wiki http://www.html5canvastutorials.com/kineticjs/html5-canvas-drag-and-drop-an-image-tutorial/ http://www.html5canvastutorials.com/kineticjs/html5-canvas-save-stage-as-json-string-with-kineticjs/

also there is another frameworks like easejs

for GUI the mobile version which uses jquery mobile is great but it has to be in html page instead gui.js and allow boss desktop events and mobile ones like click (not just touch events)

you can make mobile version as the main and enhance interface using twitter bootstrap making one version for boss desktop and mobile (responsive design )

i can help in development but just let me know the plan or how i can help

ivmartel commented 10 years ago

I'll have a look at your links, thanks! About merging mobile and static, you are right, see #71 and #72.