Re: [MSEide-MSEgui-talk] tframecomp - how to modify focused frame?

2017-03-24 Thread Martin Schreiber
On Friday 24 March 2017 18:49:36 Krzysztof wrote:
> 2017-03-24 18:32 GMT+01:00 Martin Schreiber :
> > On Friday 24 March 2017 18:06:58 Krzysztof wrote:
> > > 2017-03-24 9:38 GMT+01:00 Martin Schreiber :
> > > > Git master a5b18945edc6326a4e3464c8d5b03fc6558f4d84 has
> > > > cl_defaultrect and frame.colorframedefault.
> > > > The defaultrect width is hardcoded to 1. If you need full control use
> > > > frame images and frame.frameimage_offset1. offset1 will be added to
> > > > the imageindex
> > > > if the button has the defaultstate in order to select the according
> >
> > image
> >
> > > > group.
> > >
> > > Override cl_defaultrect works but frame.colorframedefault not (see
> > > screenshot). I removed all *.o and *.ppu files
> >
> > colorframeactive overrides colorframedefault if the button is active.
> > Activate
> > tbutton.state as_default of one of the buttons and focus the editwidget
> > in order to see the effect of frame.colorframedefault.
>
> Right, but if it override then what is this black frame next to green?
> Can't change it from tframecomp
>
The frame drawn by inactive optionsskin fso_nodefaultrect. Set its color by 
setting the rgbvalue of cl_defaultrect in tskincontroller.colors.

> > > > P.S.: The screenshot shows that you have a buggy X-server which does
> >
> > not
> >
> > > > paint
> > > > the line endpoints:
> > > > https://bugzilla.opensuse.org/show_bug.cgi?id=1021803
> > > > --NOZEROLINES commandline switch activates a workaround in MSEgui.
> > >
> > > Thanks, didn't notice that. Where I have to add this switch?
> >
> > At the command line of MSEide or any other MSEgui program. For debugging
> > programs use MSEide 'Target'-'Environment'-'Parameters'.
>
> Mmm personally I don't see any difference. Attached two screenshots, one is
> normal, second is started with "./popupskin --NOZEROLINES"

The X-server-bug is visible in objectinspector bootom-right corners of color 
values.

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] tframecomp - how to modify focused frame?

2017-03-24 Thread Krzysztof
2017-03-24 18:32 GMT+01:00 Martin Schreiber :

> On Friday 24 March 2017 18:06:58 Krzysztof wrote:
> > 2017-03-24 9:38 GMT+01:00 Martin Schreiber :
> > > Git master a5b18945edc6326a4e3464c8d5b03fc6558f4d84 has cl_defaultrect
> > > and frame.colorframedefault.
> > > The defaultrect width is hardcoded to 1. If you need full control use
> > > frame images and frame.frameimage_offset1. offset1 will be added to the
> > > imageindex
> > > if the button has the defaultstate in order to select the according
> image
> > > group.
> >
> > Override cl_defaultrect works but frame.colorframedefault not (see
> > screenshot). I removed all *.o and *.ppu files
> >
> colorframeactive overrides colorframedefault if the button is active.
> Activate
> tbutton.state as_default of one of the buttons and focus the editwidget in
> order to see the effect of frame.colorframedefault.
>

Right, but if it override then what is this black frame next to green?
Can't change it from tframecomp


>
> > > P.S.: The screenshot shows that you have a buggy X-server which does
> not
> > > paint
> > > the line endpoints:
> > > https://bugzilla.opensuse.org/show_bug.cgi?id=1021803
> > > --NOZEROLINES commandline switch activates a workaround in MSEgui.
> >
> > Thanks, didn't notice that. Where I have to add this switch?
>
> At the command line of MSEide or any other MSEgui program. For debugging
> programs use MSEide 'Target'-'Environment'-'Parameters'.


Mmm personally I don't see any difference. Attached two screenshots, one is
normal, second is started with "./popupskin --NOZEROLINES"
--
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] tframecomp - how to modify focused frame?

2017-03-24 Thread Krzysztof
2017-03-24 9:38 GMT+01:00 Martin Schreiber :
>
> Git master a5b18945edc6326a4e3464c8d5b03fc6558f4d84 has cl_defaultrect and
> frame.colorframedefault.
> The defaultrect width is hardcoded to 1. If you need full control use frame
> images and frame.frameimage_offset1. offset1 will be added to the
> imageindex
> if the button has the defaultstate in order to select the according image
> group.
>

Override cl_defaultrect works but frame.colorframedefault not (see
screenshot). I removed all *.o and *.ppu files


>
> P.S.: The screenshot shows that you have a buggy X-server which does not
> paint
> the line endpoints:
> https://bugzilla.opensuse.org/show_bug.cgi?id=1021803
> --NOZEROLINES commandline switch activates a workaround in MSEgui.
>

Thanks, didn't notice that. Where I have to add this switch?
--
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] tframecomp - how to modify focused frame?

2017-03-24 Thread Martin Schreiber
On Friday 24 March 2017 00:12:23 Krzysztof wrote:
> Hi Martin,
>
> Look at attached screenshot. How to modify this black frame when button is
> focused (tab key)? Color and width. Playing with tframecomp, changed all
> color* properties but it is still black. I can only disable it at all by
> set optionsskin.fso_defaultrect to False. Is it configurable somewhere in
> tskincontroller? By tskincontroller.colors?
>
Git master a5b18945edc6326a4e3464c8d5b03fc6558f4d84 has cl_defaultrect and 
frame.colorframedefault.
The defaultrect width is hardcoded to 1. If you need full control use frame 
images and frame.frameimage_offset1. offset1 will be added to the imageindex 
if the button has the defaultstate in order to select the according image 
group.

P.S.: The screenshot shows that you have a buggy X-server which does not paint 
the line endpoints:
https://bugzilla.opensuse.org/show_bug.cgi?id=1021803
--NOZEROLINES commandline switch activates a workaround in MSEgui.

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