using not sticky state as default

This commit is contained in:
fluxgen 2003-02-23 01:06:23 +00:00
parent 3b594d1ba6
commit 0ff94f1c8f

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
/// $Id: WinButton.cc,v 1.1 2003/01/05 22:48:54 fluxgen Exp $ /// $Id: WinButton.cc,v 1.2 2003/02/23 01:06:23 fluxgen Exp $
#include "WinButton.hh" #include "WinButton.hh"
#include "App.hh" #include "App.hh"
@ -57,18 +57,18 @@ void WinButton::drawType() {
2, height() - 5, width() - 5, 2); 2, height() - 5, width() - 5, 2);
break; break;
case STICK: case STICK:
// if (m_stuck) { /* if (m_stuck) {
XFillRectangle(disp, window().window(), XFillRectangle(disp, window().window(),
gc(), gc(),
width()/2 - width()/4, height()/2 - height()/4, width()/2 - width()/4, height()/2 - height()/4,
width()/2, height()/2); width()/2, height()/2);
/* } else { } else { */
XFillRectangle(disp, window().window(), XFillRectangle(disp, window().window(),
gc(), gc(),
width()/2, height()/2, width()/2, height()/2,
width()/5, height()/5); width()/5, height()/5);
} // }
*/
break; break;
case CLOSE: case CLOSE:
XDrawLine(disp, window().window(), XDrawLine(disp, window().window(),