Home
last modified time | relevance | path

Searched refs:SCROLL_BORDER (Results 1 – 6 of 6) sorted by relevance

/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/
H A DCamera.cpp123 if ((posX < (SCROLL_BORDER * action->getXScale()) && posX > 0) in mouseRelease()
124 || (posX > (_screenWidth - SCROLL_BORDER) * action->getXScale()) in mouseRelease()
125 || (posY < (SCROLL_BORDER * action->getYScale()) && posY > 0) in mouseRelease()
126 || (posY > (_screenHeight - SCROLL_BORDER) * action->getYScale())) in mouseRelease()
152 if (posX < (SCROLL_BORDER * action->getXScale()) && posX >= 0) in mouseOver()
169 else if (posX > (_screenWidth - SCROLL_BORDER) * action->getXScale()) in mouseOver()
191 if (posY < (SCROLL_BORDER * action->getYScale()) && posY >= 0) in mouseOver()
209 else if (posY > (_screenHeight- SCROLL_BORDER) * action->getYScale()) in mouseOver()
H A DCamera.h50 static const int SCROLL_BORDER = 5;
H A DBattlescapeState.cpp1050 if ((posX < (Camera::SCROLL_BORDER * action->getXScale()) && posX > 0) in btnStatsClick()
1051 || (posX > (_map->getWidth() - Camera::SCROLL_BORDER) * action->getXScale()) in btnStatsClick()
1052 || (posY < (Camera::SCROLL_BORDER * action->getYScale()) && posY > 0) in btnStatsClick()
1053 || (posY > (_map->getHeight() - Camera::SCROLL_BORDER) * action->getYScale())) in btnStatsClick()
/dports/x11-wm/pwm/pwm-20070720/
H A Dmenu.c808 else if(menu->x+menu->w+dx<SCREEN->width-SCROLL_BORDER && scrollhoriz==-1) in scrollfunc()
809 dx=-(menu->x+menu->w-SCREEN->width+SCROLL_BORDER); in scrollfunc()
813 else if(menu->y+menu->h+dy<SCREEN->height-SCROLL_BORDER && scrollvert==-1) in scrollfunc()
814 dy=-(menu->y+menu->h-SCREEN->height+SCROLL_BORDER); in scrollfunc()
877 menu->x+menu->w>=SCREEN->width-SCROLL_BORDER) in test_scroll()
885 menu->y+menu->h>=SCREEN->height-SCROLL_BORDER) in test_scroll()
H A Dconfig.h165 #define SCROLL_BORDER 4 macro
/dports/games/ufoai/ufoai-2.5-source/src/client/input/
H A Dcl_input.cpp540 #define SCROLL_BORDER 4 macro
554 …y / viddef.ry) + SCROLL_BORDER) - (in_shiftdown.state & 1) - (mousePosY >= ((viddef.y + viddef.vie… in CL_GetKeyMouseState()
558 …f.viewWidth) / viddef.rx) - SCROLL_BORDER) - (in_shiftleft.state & 1) - (mousePosX <= (viddef.x / … in CL_GetKeyMouseState()