[Iup-users] Minor problem with IupPlotInsert/AXS_YMAX/AXS_YAUTOMAX after empty dataset.

2017-08-08 Thread Pete Lomax via Iup-users
Adding values via IupPlotInsert does not update AXS_YMAX under AXS_YAUTOMAX 
properly, in one case.
I have four tabs, each with a plot of 7 datasets on it, updated dynamically (it 
looks for the previously quickest and extends that set).
The AXS_YAUTOMAX works fine on tabs 2..4, just not on the first tab. In that 
case I'm not adding anything to dataset 4, which I have
realised is causing the problem, and have fixed things by invoking 
IupPlotInsert on tab1/set4 with the equivalent of {0,0} in setup.

My question is, should IupPlotInsert for datasets 5..7 set AXS_YMAX when 
dataset 4 is empty?

Since I have a workaround, I'm perfectly happy - just thought you should know 
about this.

Pete

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IupFlatTabs issue

2017-08-08 Thread Antonio Scuri
  Hi,

>In IUP 3.21, iup_scintilla is build(link) with -static-libgcc and
-static-libstdc+ (MinGW), but IUP 3.22 and SVN r4353 not by default?

 There were no changes regarding those flags. Notice that they are only
used when building DLLs.

Best,
Scuri

Em 08/08/2017 11:54, "許永寬"  escreveu:

> It works...! Thank you!!!
>
> And one little thing:
> In IUP 3.21, iup_scintilla is build(link) with -static-libgcc and
> -static-libstdc+ (MinGW), but IUP 3.22 and SVN r4353 not by default?
>
>
> 2017-08-05 17:37 GMT+08:00 許永寬 :
>
>> Thank you, I need download C++ compiler to build the new SVN then try,
>> thanks~
>>
>> If we can get the tab pos, I think I can use FLATBUTTON_CB
>> and GLOBALBUTTON_CB and IupReparent to do the tabs DnD in my IDE, thanks
>> again~~
>>
>> 2017-08-05 1:42 GMT+08:00 Antonio Scuri :
>>
>>>  Fixed and committed to SVN. Now when the current tab is changed it is
>>> also scrolled to be visible in IupFlatTabs.
>>>
>>>  Just added support for IupConvertXYToPos in IupFlatTabs.
>>>
>>> > Do you have plan about support DnD in IupFlatTabs?
>>>
>>>   No, we don't. But contributions are welcome. :)
>>>
>>> Best,
>>> Scuri
>>>
>>>
>>> 2017-08-02 12:55 GMT-03:00 許永寬 :
>>>
 Very thanks^^
 I'm develop a freeBASIC IDE using IUP3.22 about 2 years, IUP is very
 good GUI framework, thanks~~

 Can we get the tab pos by mouse pos? Just like IupConvertXYToPos but
 for IupFlatTabs, the iup_flattabs.c has similar function but "static", I
 want to support midlle-click to close document, use FLAT_BUTTON_CB can
 catch the button status, but don't know which tab be click~~

 Do you have plan about support DnD in IupFlatTabs?

 2017-08-01 21:08 GMT+08:00 Antonio Scuri :

>   Hi,
>
>   Yes, it is a bug. Thanks for reporting. I'll take a look at his in
> the next couple of days.
>
> Best,
> Scuri
>
>
> 2017-08-01 8:32 GMT-03:00 許永寬 :
>
>> Dear scuri: 
>>
>> Since 3.22 I use IupFlatTabs instead of IupTabs, but I found if I add
>> the many tabs the right-arrow icon will appear, but tab title is hiddle, 
>> I
>> need click the right-arrow icon to sccroll the current tab title show.
>>
>> If I back to IupTabs, the current tab title will scroll to show.
>>
>> Thank you very much~
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Iup-users mailing list
>> Iup-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>

 
 --
 Check out the vibrant tech community on one of the world's most
 engaging tech sites, Slashdot.org! http://sdm.link/slashdot
 ___
 Iup-users mailing list
 Iup-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/iup-users


>>>
>>> 
>>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> Iup-users mailing list
>>> Iup-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>
>>>
>>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] IupFlatTabs issue

2017-08-08 Thread 許永寬
It works...! Thank you!!!

And one little thing:
In IUP 3.21, iup_scintilla is build(link) with -static-libgcc and
-static-libstdc+ (MinGW), but IUP 3.22 and SVN r4353 not by default?


2017-08-05 17:37 GMT+08:00 許永寬 :

> Thank you, I need download C++ compiler to build the new SVN then try,
> thanks~
>
> If we can get the tab pos, I think I can use FLATBUTTON_CB
> and GLOBALBUTTON_CB and IupReparent to do the tabs DnD in my IDE, thanks
> again~~
>
> 2017-08-05 1:42 GMT+08:00 Antonio Scuri :
>
>>  Fixed and committed to SVN. Now when the current tab is changed it is
>> also scrolled to be visible in IupFlatTabs.
>>
>>  Just added support for IupConvertXYToPos in IupFlatTabs.
>>
>> > Do you have plan about support DnD in IupFlatTabs?
>>
>>   No, we don't. But contributions are welcome. :)
>>
>> Best,
>> Scuri
>>
>>
>> 2017-08-02 12:55 GMT-03:00 許永寬 :
>>
>>> Very thanks^^
>>> I'm develop a freeBASIC IDE using IUP3.22 about 2 years, IUP is very
>>> good GUI framework, thanks~~
>>>
>>> Can we get the tab pos by mouse pos? Just like IupConvertXYToPos but for
>>> IupFlatTabs, the iup_flattabs.c has similar function but "static", I want
>>> to support midlle-click to close document, use FLAT_BUTTON_CB can catch the
>>> button status, but don't know which tab be click~~
>>>
>>> Do you have plan about support DnD in IupFlatTabs?
>>>
>>> 2017-08-01 21:08 GMT+08:00 Antonio Scuri :
>>>
   Hi,

   Yes, it is a bug. Thanks for reporting. I'll take a look at his in
 the next couple of days.

 Best,
 Scuri


 2017-08-01 8:32 GMT-03:00 許永寬 :

> Dear scuri: 
>
> Since 3.22 I use IupFlatTabs instead of IupTabs, but I found if I add
> the many tabs the right-arrow icon will appear, but tab title is hiddle, I
> need click the right-arrow icon to sccroll the current tab title show.
>
> If I back to IupTabs, the current tab title will scroll to show.
>
> Thank you very much~
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>

 
 --
 Check out the vibrant tech community on one of the world's most
 engaging tech sites, Slashdot.org! http://sdm.link/slashdot
 ___
 Iup-users mailing list
 Iup-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/iup-users


>>>
>>> 
>>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> Iup-users mailing list
>>> Iup-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>
>>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Iup-users mailing list
>> Iup-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users