summaryrefslogtreecommitdiff
path: root/iup/src/mot/iupmot_key.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
committerPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
commiteed0eb6a476d54ce19aeff137984aa981d9e3976 (patch)
tree807891636efd2f87dcbd261e971216269973ae07 /iup/src/mot/iupmot_key.c
parentccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff)
Upgrading to iup 3.1
Diffstat (limited to 'iup/src/mot/iupmot_key.c')
-rwxr-xr-xiup/src/mot/iupmot_key.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/iup/src/mot/iupmot_key.c b/iup/src/mot/iupmot_key.c
index 835b5d7..9897741 100755
--- a/iup/src/mot/iupmot_key.c
+++ b/iup/src/mot/iupmot_key.c
@@ -393,33 +393,33 @@ void iupmotKeyPressEvent(Widget w, Ihandle *ih, XEvent *evt, Boolean *cont)
void iupmotButtonKeySetStatus(unsigned int state, unsigned int but, char* status, int doubleclick)
{
if (state & ShiftMask)
- iupKEYSETSHIFT(status);
+ iupKEY_SETSHIFT(status);
if (state & ControlMask)
- iupKEYSETCONTROL(status);
+ iupKEY_SETCONTROL(status);
if ((state & Button1Mask) || but==Button1)
- iupKEYSETBUTTON1(status);
+ iupKEY_SETBUTTON1(status);
if ((state & Button2Mask) || but==Button2)
- iupKEYSETBUTTON2(status);
+ iupKEY_SETBUTTON2(status);
if ((state & Button3Mask) || but==Button3)
- iupKEYSETBUTTON3(status);
+ iupKEY_SETBUTTON3(status);
if ((state & Button4Mask) || but==Button4)
- iupKEYSETBUTTON4(status);
+ iupKEY_SETBUTTON4(status);
if ((state & Button5Mask) || but==Button5)
- iupKEYSETBUTTON5(status);
+ iupKEY_SETBUTTON5(status);
if (state & Mod1Mask || state & Mod5Mask) /* Alt */
- iupKEYSETALT(status);
+ iupKEY_SETALT(status);
if (state & Mod4Mask) /* Apple/Win */
- iupKEYSETSYS(status);
+ iupKEY_SETSYS(status);
if (doubleclick)
- iupKEYSETDOUBLE(status);
+ iupKEY_SETDOUBLE(status);
}