Searched refs:sideBarPos (Results 1 – 4 of 4) sorted by relevance
/dports/games/dunelegacy/dunelegacy-0.96.4/src/ |
H A D | Game.cpp | 83 …sideBarPos = calcAlignedDrawingRect(pGFXManager->getUIGraphic(UI_SideBar), HAlign::Right, VAlign::… in Game() 93 SDL_Rect gameBoardRect = { 0, topBarPos.h, sideBarPos.x, getRendererHeight() - topBarPos.h }; in Game() 519 if(finalMouseX >= sideBarPos.x) { in drawScreen() 521 finalMouseX = sideBarPos.x-1; in drawScreen() 569 SDL_Rect drawLocation = calcDrawingRect(pFPSTexture,sideBarPos.x - strFPS.length()*8, 60); in drawScreen() 595 …SDL_Rect drawLocation = calcDrawingRect(pFinishMessageTexture, sideBarPos.x/2, topBarPos.h + (getR… in drawScreen() 738 if (mouse->x < sideBarPos.x && mouse->y >= topBarPos.h) { in doInput() 802 if(finalMouseX >= sideBarPos.x) { in doInput() 803 finalMouseX = sideBarPos.x-1; in doInput() 993 …getRadarView().getWorldCoords(drawnMouseX - (sideBarPos.x + SIDEBAR_COLUMN_WIDTH), drawnMouseY - s… in drawCursor() [all …]
|
/dports/games/dunelegacy/dunelegacy-0.96.4/include/ |
H A D | Game.h | 561 SDL_Rect sideBarPos = {0, 0, 0, 0}; ///< position of the right side bar variable
|
/dports/games/dunelegacy/dunelegacy-0.96.4/include/MapEditor/ |
H A D | MapEditor.h | 295 SDL_Rect sideBarPos; variable
|
/dports/games/dunelegacy/dunelegacy-0.96.4/src/MapEditor/ |
H A D | MapEditor.cpp | 84 …sideBarPos = calcAlignedDrawingRect(pGFXManager->getUIGraphic(UI_SideBar), HAlign::Right, VAlign::… in MapEditor() 88 …SDL_Rect gameBoardRect = { 0, topBarPos.h, sideBarPos.x, getRendererHeight() - topBarPos.h - botto… in MapEditor() 1357 …if((drawnMouseX < sideBarPos.x) && (drawnMouseY > topBarPos.h) && (currentMirrorMode != MirrorMode… in drawCursor()
|