Re: [MSEide-MSEgui-talk] imagelist's cornermask (again! )

2017-04-14 Thread Martin Schreiber
On Tuesday 11 April 2017 17:21:54 Martin Schreiber wrote:
> On Tuesday 11 April 2017 16:29:08 code dz wrote:
> > 2017-04-11 14:47 UTC+01:00, code dz :
> > > Hi
> > > iam just stuck in finishing tab skin , my tab shape has 2 top round
> > > corners , and 2 bottom squares corners , now the timagelist.cornermask
> > > applies on all corners , you can see the screenshot how the mask
> > > affects the bottom corners .
> > >
> > > so how to avoid this ?
> > > thanks
> >
> > seems hiddenedges is the only way ;)
>
> It is also planned to add individual corner masks to timagelist. Because
> timagelist will be used by many widgets the overhead is acceptable IMO.
>
Done, git master bedb32e46c5eff2f9c5db55bf32d7d2712767e47.

Martin



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


Re: [MSEide-MSEgui-talk] imagelist's cornermask (again! )

2017-04-13 Thread code dz
2017-04-13 13:54 UTC+01:00, Martin Schreiber :
> On Thursday 13 April 2017 14:40:44 code dz wrote:
>> 2017-04-13 11:24 UTC+01:00, Martin Schreiber :
>> > On Thursday 13 April 2017 12:15:19 Martin Schreiber wrote:
>> >> You are aware that the purpose of cornermasks is clipping the client
>> >> area if the client area has been shifted under transparent areas of
>> >> the
>> >> frame images by negative frameimage_left, frameimage_top,
>> >> frameimage_right or frameimage_bottom? Without negative shifts they
>> >> are
>> >> not needed.
>> >
>> > Your example does not need corner masks if you shift by -3 instead of
>> > -4.
>> >
>> > Martin
>>
>> i thought cornermask is on top of corner images and has a fixed pos ,
>> which mean it didn't shifted !
>
> It is below corner images in order to clip the client area.
>
>> , so how can shifted corner images has
>> and effect on connermask ?
>>
> frameimage_left... do not shift frame images but adjust the client rect.
> Normally the client rect is adjacent to the frame.
>
> Martin
>

thanks for clarification

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


Re: [MSEide-MSEgui-talk] imagelist's cornermask (again! )

2017-04-13 Thread Martin Schreiber
On Thursday 13 April 2017 14:40:44 code dz wrote:
> 2017-04-13 11:24 UTC+01:00, Martin Schreiber :
> > On Thursday 13 April 2017 12:15:19 Martin Schreiber wrote:
> >> You are aware that the purpose of cornermasks is clipping the client
> >> area if the client area has been shifted under transparent areas of the
> >> frame images by negative frameimage_left, frameimage_top,
> >> frameimage_right or frameimage_bottom? Without negative shifts they are
> >> not needed.
> >
> > Your example does not need corner masks if you shift by -3 instead of -4.
> >
> > Martin
>
> i thought cornermask is on top of corner images and has a fixed pos ,
> which mean it didn't shifted ! 

It is below corner images in order to clip the client area.

> , so how can shifted corner images has 
> and effect on connermask ?
>
frameimage_left... do not shift frame images but adjust the client rect. 
Normally the client rect is adjacent to the frame.

Martin

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


Re: [MSEide-MSEgui-talk] imagelist's cornermask (again! )

2017-04-13 Thread code dz
2017-04-13 11:24 UTC+01:00, Martin Schreiber :
> On Thursday 13 April 2017 12:15:19 Martin Schreiber wrote:
>>
>> You are aware that the purpose of cornermasks is clipping the client area
>> if the client area has been shifted under transparent areas of the frame
>> images by negative frameimage_left, frameimage_top, frameimage_right or
>> frameimage_bottom? Without negative shifts they are not needed.
>>
> Your example does not need corner masks if you shift by -3 instead of -4.
>
> Martin
>
i thought cornermask is on top of corner images and has a fixed pos ,
which mean it didn't shifted ! , so how can shifted corner images has
and effect on connermask ?

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


Re: [MSEide-MSEgui-talk] imagelist's cornermask (again! )

2017-04-13 Thread Martin Schreiber
On Thursday 13 April 2017 12:15:19 Martin Schreiber wrote:
>
> You are aware that the purpose of cornermasks is clipping the client area
> if the client area has been shifted under transparent areas of the frame
> images by negative frameimage_left, frameimage_top, frameimage_right or
> frameimage_bottom? Without negative shifts they are not needed.
>
Your example does not need corner masks if you shift by -3 instead of -4.

Martin



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


Re: [MSEide-MSEgui-talk] imagelist's cornermask (again! )

2017-04-13 Thread Martin Schreiber
On Thursday 13 April 2017 11:14:02 code dz wrote:
> 2017-04-11 16:21 UTC+01:00, Martin Schreiber :
> > On Tuesday 11 April 2017 16:29:08 code dz wrote:
> >> 2017-04-11 14:47 UTC+01:00, code dz :
> >> > Hi
> >> > iam just stuck in finishing tab skin , my tab shape has 2 top round
> >> > corners , and 2 bottom squares corners , now the timagelist.cornermask
> >> > applies on all corners , you can see the screenshot how the mask
> >> > affects the bottom corners .
> >> >
> >> > so how to avoid this ?
> >> > thanks
> >>
> >> seems hiddenedges is the only way ;)
> >
> > It is also planned to add individual corner masks to timagelist. Because
> > timagelist will be used by many widgets the overhead is acceptable IMO.
> >
> > Martin
>
> thats good , i'll be waiting for this ;)
>
You are aware that the purpose of cornermasks is clipping the client area if 
the client area has been shifted under transparent areas of the frame images 
by negative frameimage_left, frameimage_top, frameimage_right or 
frameimage_bottom? Without negative shifts they are not needed.

Martin

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


Re: [MSEide-MSEgui-talk] imagelist's cornermask (again! )

2017-04-13 Thread code dz
2017-04-11 16:21 UTC+01:00, Martin Schreiber :
> On Tuesday 11 April 2017 16:29:08 code dz wrote:
>> 2017-04-11 14:47 UTC+01:00, code dz :
>> > Hi
>> > iam just stuck in finishing tab skin , my tab shape has 2 top round
>> > corners , and 2 bottom squares corners , now the timagelist.cornermask
>> > applies on all corners , you can see the screenshot how the mask
>> > affects the bottom corners .
>> >
>> > so how to avoid this ?
>> > thanks
>>
>> seems hiddenedges is the only way ;)
>>
> It is also planned to add individual corner masks to timagelist. Because
> timagelist will be used by many widgets the overhead is acceptable IMO.
>
> Martin
>

thats good , i'll be waiting for this ;)

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


Re: [MSEide-MSEgui-talk] imagelist's cornermask (again! )

2017-04-11 Thread code dz
2017-04-11 14:47 UTC+01:00, code dz :
> Hi
> iam just stuck in finishing tab skin , my tab shape has 2 top round
> corners , and 2 bottom squares corners , now the timagelist.cornermask
> applies on all corners , you can see the screenshot how the mask
> affects the bottom corners .
>
> so how to avoid this ?
> thanks
>

seems hiddenedges is the only way ;)

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


[MSEide-MSEgui-talk] imagelist's cornermask (again! )

2017-04-11 Thread code dz
Hi
iam just stuck in finishing tab skin , my tab shape has 2 top round
corners , and 2 bottom squares corners , now the timagelist.cornermask
applies on all corners , you can see the screenshot how the mask
affects the bottom corners .

so how to avoid this ?
thanks
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk