Lines Matching refs:_bounds

42 	this->_bounds.left = xp;  in RightClickButton()
43 this->_bounds.top = yp; in RightClickButton()
44 this->_bounds.setWidth(BUTTON_WIDTH); in RightClickButton()
45 this->_bounds.setHeight(BUTTON_HEIGHT); in RightClickButton()
52 g_globals->gfxManager().copyFrom(*_savedButton, _bounds.left, _bounds.top); in highlight()
57 _savedButton = surfaceGetArea(g_globals->gfxManager().getSurface(), _bounds); in highlight()
63 g_globals->gfxManager().copyFrom(btnSelected, _bounds.left, _bounds.top); in highlight()
91 Rect screenRect = g_globals->gfxManager()._bounds; in RightClickDialog()
95 _bounds = dialogRect; in RightClickDialog()
96 _gfxManager._bounds = _bounds; in RightClickDialog()
111 if (btnList[i]->_bounds.contains(pt)) in findButton()
120 _savedArea = surfaceGetArea(g_globals->_gfxManagerInstance.getSurface(), _bounds); in draw()
123 g_globals->gfxManager().copyFrom(_surface, _bounds.left, _bounds.top); in draw()
174 evt.mousePos.x -= _bounds.left; in execute()
175 evt.mousePos.y -= _bounds.top; in execute()
257 _gfxMessage._bounds.moveTo(0, 1); in OptionsDialog()
258 _btnRestore._bounds.moveTo(0, _gfxMessage._bounds.bottom + 1); in OptionsDialog()
259 _btnSave._bounds.moveTo(0, _btnRestore._bounds.bottom + 1); in OptionsDialog()
260 _btnRestart._bounds.moveTo(0, _btnSave._bounds.bottom + 1); in OptionsDialog()
261 _btnQuit._bounds.moveTo(0, _btnRestart._bounds.bottom + 1); in OptionsDialog()
262 _btnSound._bounds.moveTo(0, _btnQuit._bounds.bottom + 1); in OptionsDialog()
263 _btnResume._bounds.moveTo(0, _btnSound._bounds.bottom + 1); in OptionsDialog()
269 btnWidth = MAX(btnWidth, btnList[idx]->_bounds.width()); in OptionsDialog()
271 btnList[idx]->_bounds.setWidth(btnWidth); in OptionsDialog()
285 event.handled = _bounds.contains(event.mousePos); in process()
356 _images[idx]->_bounds.moveTo(pt.x, pt.y); in InventoryDialog()
365 _btnOk._bounds.moveTo((imgWidth + 2) * cellsSize - _btnOk._bounds.width(), pt.y); in InventoryDialog()
367 _btnLook._bounds.moveTo(_btnOk._bounds.left - _btnLook._bounds.width() - 2, _btnOk._bounds.top); in InventoryDialog()
397 if ((event.eventType == EVENT_BUTTON_DOWN) && !_bounds.contains(event.mousePos)) in execute()
401 event.mousePos.x -= _gfxManager._bounds.left; in execute()
402 event.mousePos.y -= _gfxManager._bounds.top; in execute()