Page 1 of 1


Posted: Fri Sep 27, 2019 6:57 am
by Peter
Painterro on GitHub wrote:Painterro is JavaScript painting widget (paint library) which allows editing images in a browser.
It can be easily integrated into your website or blog by including only one JS file and calling initialization code.

Proof of Concept - Code:
Code: Select all

#Window = 0
#Container = 0

Procedure PainterroReady()
  OpenWindow(#Window, #PB_Ignore, #PB_Ignore, 800, 600, "Painterro-Demo", #PB_Window_ScreenCentered)
  ContainerGadget(#Container, 0, 0, WindowWidth(#Window), WindowHeight(#Window))
  Protected GadgetID = GadgetID(#Container)
  ! Painterro( { id: $(v_gadgetid.div.innerHTML)[0].id } ).show();

LoadScript("", @PainterroReady())



Have fun ... Peter

Re: Painterro-Demo

Posted: Tue Nov 05, 2019 12:35 pm
by Fred
Very cool to see integrated in a SB window :)