Home
last modified time | relevance | path

Searched refs:M_ERAS (Results 1 – 2 of 2) sorted by relevance

/dports/deskutils/wmpinboard/wmpinboard-1.0.orig/src/
H A Dwmpinboard.h36 M_ERAS, /* sketch mode, erasing (implies M_EDIT) */ enumerator
H A Dwmpinboard.c1106 case M_DRAW: case M_ERAS: in set_mode()
1473 case M_DRAW: case M_ERAS: /* draw in either sketch mode */ in handle_ButtonPress()
1477 if (state.mode == M_ERAS) { in handle_ButtonPress()
1555 case M_EDIT: case M_DRAW: case M_ERAS: in handle_ButtonRelease()
1569 if (state.mode == M_DRAW || state.mode == M_ERAS) { in handle_ButtonRelease()
1571 if (M_ERAS) { /* restore normal note display first */ in handle_ButtonRelease()
1667 set_mode(state.bbar_pressed == 1 ? M_DRAW : M_ERAS); in handle_ButtonRelease()
1811 case M_DRAW: case M_ERAS: /* draw in either sketch mode */ in handle_MotionNotify()
1814 if (state.mode == M_ERAS) { /* enlarge the cursor a bit when erasing */ in handle_MotionNotify()
2199 state.mode == M_DRAW || state.mode == M_ERAS) && in main()