Re: [Iup-users] IupMatrixEx -- Related issues

2022-10-28 Thread Andrew Robinson
Here are two files


On 10/28/2022 at 4:29 AM, Antonio Scuri  wrote:


  Hi,



  Thanks for the update. Can you send me that png file?




Best,

Scuri



Em qui., 27 de out. de 2022 às 14:19, Andrew Robinson 
escreveu:




Ola,




Update: The problem isn't with IUP, the problem is with iupview.exe. I'm using
iupview.exe to convert png to C, which causes the issue, but when I convert
png to raw binary and link to that instead, everything works as expected. Not
sure what the problem is with iupview.exe but I'm glad the problem isn't with
IUP.




Signed,

Andres




PS -- It would be nice if iupview.exe could save image data as raw binary.


On 10/25/2022 at 12:36 PM, Andrew Robinson  wrote:


Ola,




My App is "growing up" and one of the things I added was a way to view the
molecular structure of the polymer listed. The issue is that any graphic with
a width greater than some value between 313 and 343 pixels, will not display
properly (see PCTA.1 in attached screenshot). I confirmed this issue by
changing the graphic width from 343 to 313 pixels. The wider the graphic, the
worse the skew gets. I used iupView.exe to convert all RBG 24-bit color pngs
to C text, which I then load into the matrix using IupImageRGB and
IupSetAttributeHandle. Is there a limit to this that I didn't see or isn't
documented, and is there a workaround?









Also, I set RASTERWIDTH for that column to "625" (for an IUP matrix that is
"575" wide) and clicking on the white space next to the horizontal scrollbar
works until it reaches the middle of the molecular structure column, so that
it will butt-up against the right-arrow of the control. Clicking on the
right-arrow of the scrollbar restores the scrollbar to working condition so I
can continue scrolling to the end of the columns. It seems related to the
issue below, hence the reason I linked this issue to that thread.




Signed,

Andres




On 3/16/2022 at 5:56 AM, Andrew Robinson  wrote:


Ola Antonio,



This looks like it might be a layout bug in IupMatrixEx...










Everything lines up, right? But then I scroll left one unit and then this
happens...








___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IupMatrixEx -- Related issues

2022-10-28 Thread Antonio Scuri
  Hi,

  Thanks for the update. Can you send me that png file?

Best,
Scuri

Em qui., 27 de out. de 2022 às 14:19, Andrew Robinson 
escreveu:

> Ola,
>
> Update: The problem isn't with IUP, the problem is with iupview.exe. I'm
> using iupview.exe to convert png to C, which causes the issue, but when I
> convert png to raw binary and link to that instead, everything works as
> expected. Not sure what the problem is with iupview.exe but I'm glad the
> problem isn't with IUP.
>
> Signed,
> Andres
>
> PS -- It would be nice if iupview.exe could save image data as raw binary.
>
> On 10/25/2022 at 12:36 PM, Andrew Robinson  wrote:
>
> Ola,
>
> My App is "growing up" and one of the things I added was a way to view the
> molecular structure of the polymer listed. The issue is that any graphic
> with a width greater than some value between 313 and 343 pixels, will not
> display properly (see PCTA.1 in attached screenshot). I confirmed this
> issue by changing the graphic width from 343 to 313 pixels. The wider the
> graphic, the worse the skew gets. I used iupView.exe to convert all RBG
> 24-bit color pngs to C text, which I then load into the matrix using
> IupImageRGB and IupSetAttributeHandle. Is there a limit to this that I
> didn't see or isn't documented, and is there a workaround?
>
>
> Also, I set RASTERWIDTH for that column to "625" (for an IUP matrix that
> is "575" wide) and clicking on the white space next to the horizontal
> scrollbar works until it reaches the middle of the molecular structure
> column, so that it will butt-up against the right-arrow of the control.
> Clicking on the right-arrow of the scrollbar restores the scrollbar to
> working condition so I can continue scrolling to the end of the columns. It
> seems related to the issue below, hence the reason I linked this issue to
> that thread.
>
> Signed,
> Andres
>
> On 3/16/2022 at 5:56 AM, Andrew Robinson  wrote:
>
> Ola Antonio,
>
> This looks like it might be a layout bug in IupMatrixEx...
>
>
>
> Everything lines up, right? But then I scroll left one unit and then this
> happens...
>
>
>
>
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users