fix invisible minimize button
This commit is contained in:
parent
139b501112
commit
2f2e2185c3
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 0.9.6:
|
||||
*03/09/22:
|
||||
* Fix invisible minimize button for non-pixmap themes (Simon)
|
||||
WinButton.cc
|
||||
*03/09/21:
|
||||
* Fix disappearing close button (Simon)
|
||||
WinClient.hh/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.14 2003/09/14 17:34:47 fluxgen Exp $
|
||||
/// $Id: WinButton.cc,v 1.15 2003/09/22 12:07:00 rathnor Exp $
|
||||
|
||||
#include "WinButton.hh"
|
||||
#include "App.hh"
|
||||
|
@ -118,7 +118,7 @@ void WinButton::drawType() {
|
|||
|
||||
if (used) {
|
||||
FbTk::FbWindow::clear();
|
||||
} else if (gc() == 0) { // must have valid graphic context
|
||||
} else if (gc() != 0) { // must have valid graphic context
|
||||
FbTk::FbWindow::drawRectangle(gc(),
|
||||
2, height() - 5, width() - 5, 2);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue