From b7077b18d03d34a7bb4ac5ecae5e3d61b3d38d79 Mon Sep 17 00:00:00 2001 From: fluxgen <fluxgen> Date: Fri, 27 Feb 2004 12:29:13 +0000 Subject: fixed some transparent bugs --- src/WinButton.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/WinButton.cc b/src/WinButton.cc index 6af0dae..a72b696 100644 --- a/src/WinButton.cc +++ b/src/WinButton.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -/// $Id: WinButton.cc,v 1.17 2004/01/10 00:37:35 rathnor Exp $ +/// $Id: WinButton.cc,v 1.18 2004/02/27 12:29:13 fluxgen Exp $ #include "WinButton.hh" #include "App.hh" @@ -228,7 +228,7 @@ void WinButton::drawType(bool clear, bool no_trans) { if (used || clear) FbTk::FbWindow::clear(); - + if (!used && gc() != 0) { // must have valid graphic context drawLine(gc(), @@ -276,8 +276,8 @@ void WinButton::drawType(bool clear, bool no_trans) { break; } - if ((used || clear) && !no_trans) - updateTransparent(); + // if ((used || clear) && !no_trans) + updateTransparent(); } void WinButton::clear() { -- cgit v0.11.2