Home
last modified time | relevance | path

Searched refs:sideBarPos (Results 1 – 4 of 4) sorted by relevance

/dports/games/dunelegacy/dunelegacy-0.96.4/src/
H A DGame.cpp83sideBarPos = 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 DGame.h561 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 DMapEditor.h295 SDL_Rect sideBarPos; variable
/dports/games/dunelegacy/dunelegacy-0.96.4/src/MapEditor/
H A DMapEditor.cpp84sideBarPos = 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()