using not sticky state as default
This commit is contained in:
parent
3b594d1ba6
commit
0ff94f1c8f
1 changed files with 11 additions and 11 deletions
|
@ -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(),
|
||||||
|
gc(),
|
||||||
|
width()/2 - width()/4, height()/2 - height()/4,
|
||||||
|
width()/2, height()/2);
|
||||||
|
} else { */
|
||||||
XFillRectangle(disp, window().window(),
|
XFillRectangle(disp, window().window(),
|
||||||
gc(),
|
gc(),
|
||||||
width()/2 - width()/4, height()/2 - height()/4,
|
width()/2, height()/2,
|
||||||
width()/2, height()/2);
|
width()/5, height()/5);
|
||||||
/* } else {
|
// }
|
||||||
XFillRectangle(disp, window().window(),
|
|
||||||
gc(),
|
|
||||||
width()/2, height()/2,
|
|
||||||
width()/5, height()/5);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
break;
|
break;
|
||||||
case CLOSE:
|
case CLOSE:
|
||||||
XDrawLine(disp, window().window(),
|
XDrawLine(disp, window().window(),
|
||||||
|
|
Loading…
Reference in a new issue