View Single Post
  #14  
Old 30-03-2021, 02:57 PM
multiweb's Avatar
multiweb (Marc)
ze frogginator

multiweb is offline
 
Join Date: Oct 2007
Location: Sydney
Posts: 22,080
Quote:
Originally Posted by kosborn View Post
No, embarrassingly it's a Kevin issue. In my defence it's the first time I've used github.

Line 45 should be :
var msg = new MessageBox("Source image view must be selected", "CubeHelix Error", StdIcon_Error, StdButton_Ok);

It's now correct on github. As it stands, the script expects an active image window to be open at the time it starts. It will use this active window as the source unless a different image is selected via the drop down. I will fix it tonight so that doesn't happen but in the meantime it should work....
Cool. The icon loads when no image is open now.
I still get the error in line 194 though about the NumericControl. Probably a UI thing which is why I thought Qt could be at fault. Win10 might be using something slightly different from the legacy Win7 stuff.

The CubeHelix RGB Image container opens on the screen before the script halts.

PS: forgot to add an include. It's working now. Will play with it.

#include <pjsr/Sizer.jsh>
#include <pjsr/TextAlign.jsh>
#include <pjsr/UndoFlag.jsh>
#include <pjsr/FrameStyle.jsh>
#include <pjsr/StdIcon.jsh>
#include <pjsr/StdButton.jsh>
#include <pjsr/ColorSpace.jsh>
#include <pjsr/NumericControl.jsh>
Attached Thumbnails
Click for full-size image (box.gif)
38.3 KB27 views

Last edited by multiweb; 30-03-2021 at 03:45 PM.
Reply With Quote