Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Haarsma <phaseIV@zonnet.nl>2004-01-13 17:50:45 +0300
committerRob Haarsma <phaseIV@zonnet.nl>2004-01-13 17:50:45 +0300
commit4a8f52f61983f33714cdd57d0064a4df208357b1 (patch)
tree96677fd6134ae92074fca3f43ea64f32ca39b820 /source/blender/src/editscreen.c
parentd74da9789a2124f1a8a3cf6f8f9070b127dff73d (diff)
Converted the Userpreference buttons to zr's new ButBit calls.
Also added USER_* to each define located in DNA_userdef.h.
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r--source/blender/src/editscreen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index 8c940406597..a9d39bd8eb7 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -1151,8 +1151,8 @@ void screenmain(void)
#ifdef _WIN32 // FULLSCREEN
void mainwindow_toggle_fullscreen(int fullscreen){
- if (fullscreen) U.uiflag |= FLIPFULLSCREEN;
- else U.uiflag &= ~FLIPFULLSCREEN;
+ if (fullscreen) U.uiflag |= USER_FLIPFULLSCREEN;
+ else U.uiflag &= ~USER_FLIPFULLSCREEN;
window_toggle_fullscreen(mainwin, fullscreen);
}
@@ -1726,7 +1726,7 @@ void add_to_mainqueue(Window *win, void *user_data, short evt, short val, char a
statechanged= 1;
- if (U.flag & NONUMPAD) {
+ if (U.flag & USER_NONUMPAD) {
evt= convert_for_nonumpad(evt);
}