← Back to team overview

kicad-developers team mailing list archive

Re: layer_widget_test

 

--------------080208070907030908040602 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

jean-pierre.charras@... wrote:
> 
>
> Some bitmaps are not displayed.
>
>
>

It should look something like the attached.

The first column for each row has a wxStaticBitmap. All rows but one 
use a transparent bitmap, the selected row should be showing the 
m_RightArrow instead of the transparent bitmap m_BlankBitmap.

Just an observation, Windows is the only OS for which this is not working.

Somebody else will have to call Bill Gates. 

It compiles now on 2.9.





Thanks for the early feedback. Now we know there is some work to do on 
Windows. It might be that we cannot share the fields:

wxBitmap* m_BlankBitmap;
wxBitmap* m_RightArrowBitmap;

in more than one wxStaticBitmap.

Sometime maybe somebody on Windows can work through this for us, and 
find out why the wxStaticBitmap is not show after calling

bool SelectLayerRow( int aRow )

which is called from the constructor.

Thanks,

Dick

 --------------080208070907030908040602 Content-Type: multipart/related;
boundary="------------010402090608050006020102"

--------------010402090608050006020102 Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:jean-pierre.charras@...";>jean-pierre.charras@...</a> wrote:
<blockquote cite="mid:4B48EA53.5040701@..." type="cite">
<style type="text/css">
<!--

/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}

div.photo-title 
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none; 
}

div.attach-table div.attach-row {
clear: both;
}

div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}

p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}

div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}

div.attach-table div.attach-row div div span {
font-weight: normal;
}

div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<!-- |**|begin egp html banner|**| -->&nbsp;
<div>
<div>
<div>
<p>Some bitmaps are not displayed.<br>
</p>
</div>
</div>
</div>
<img src="cid:part1.04010007.02070005@..." alt=""><br>
<br>
</blockquote>
<br>
It should look something like the attached.&nbsp; <br>
<br>
The first column for each row has a wxStaticBitmap.&nbsp; All rows but one
use a transparent bitmap, the selected row&nbsp; should be showing the
m_RightArrow instead of the transparent bitmap m_BlankBitmap.<br>
<br>
Just an observation, Windows is the only OS for which this is not
working.<br>
<br>
Somebody else will have to call Bill Gates.&nbsp; <br>
<br>
It compiles now on 2.9.<br>
<br>
<br>
<img alt="" src="cid:part2.01020401.09010707@..." height="428"
width="480"><br>
<br>
<br>
Thanks for the early feedback.&nbsp; Now we know there is some work to do on
Windows.&nbsp;&nbsp; It might be that we cannot share the fields:<br>
<br>
&nbsp;&nbsp;&nbsp; wxBitmap*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_BlankBitmap;<br>
&nbsp;&nbsp;&nbsp; wxBitmap*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_RightArrowBitmap;<br>
<br>
in more than one wxStaticBitmap.<br>
<br>
Sometime maybe somebody on Windows can work through this for us, and
find out why the wxStaticBitmap is not show after calling <br>
<br>
&nbsp;&nbsp;&nbsp; bool SelectLayerRow( int aRow )<br>
<br>
which is called from the constructor.<br>
<br>
Thanks,<br>
<br>
Dick<br>
<br>
</body>
</html>
 --------------010402090608050006020102 Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-ID: <part1.04010007.02070005@...>

[Attachment content not displayed.] --------------010402090608050006020102 Content-Type: image/png;
name="layer_widget.png"
Content-Transfer-Encoding: base64
Content-ID: <part2.01020401.09010707@...>
Content-Disposition: inline;
filename="layer_widget.png"

[Attachment content not displayed.] --------------010402090608050006020102----------------080208070907030908040602----------------030806090600090102010705 Content-Type: image/png;
name="layer_widget.png"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="layer_widget.png"

[Attachment content not displayed.] --------------030806090600090102010705-- 




Follow ups

References