Converted the Userpreference buttons to zr's new ButBit calls.

Also added USER_*  to each define located in DNA_userdef.h.
This commit is contained in:
2004-01-13 14:50:45 +00:00
parent d74da9789a
commit 4a8f52f619
31 changed files with 239 additions and 242 deletions

View File

@@ -390,7 +390,7 @@ static int event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr private)
if (val) {
if (win->commandqual) {
bbut= win->faked_mbut= RIGHTMOUSE;
} else if ((win->lqual & LR_ALTKEY) && (U.flag & TWOBUTTONMOUSE)) {
} else if ((win->lqual & LR_ALTKEY) && (U.flag & USER_TWOBUTTONMOUSE)) {
/* finally, it actually USES the userpref! :) -intrr */
bbut= win->faked_mbut= MIDDLEMOUSE;
}