ManaPlus
Data Structures | Macros | Variables
graphics.h File Reference

(986a3bf)

#include "sdlshared.h"
#include "enums/render/rendertype.h"
#include "gui/color.h"
#include "gui/cliprect.h"
#include "resources/mstack.h"
#include <SDL_video.h>
#include "localconsts.h"

Go to the source code of this file.

Data Structures

class  Graphics
 

Macros

#define RectPos   int16_t
 
#define RectSize   uint16_t
 

Variables

GraphicsmainGraphics
 

Macro Definition Documentation

◆ RectPos

#define RectPos   int16_t

Definition at line 94 of file graphics.h.

◆ RectSize

#define RectSize   uint16_t

Definition at line 95 of file graphics.h.

Variable Documentation

◆ mainGraphics

Graphics* mainGraphics
extern

Definition at line 109 of file graphics.cpp.

Referenced by Setup_Video::action(), Game::addWatermark(), Window::adjustPositionAfterResize(), Window::adjustSizeToScreen(), AmbientLayer::AmbientLayer(), WindowManager::applyGamma(), WindowManager::applyGrabMode(), WindowManager::applyScale(), Setup_Video::cancel(), CharacterDisplay::CharacterDisplay(), CharSelectDialog::CharSelectDialog(), ChatWindow::ChatWindow(), GraphicsManager::createRenderers(), Game::createScreenshot(), GraphicsManager::deleteRenderers(), GraphicsManager::detectGraphics(), GraphicsManager::detectPixelSize(), WindowManager::doResizeVideo(), TouchManager::draw(), Map::draw(), WindowMenu::drawChildren(), TouchManager::drawText(), Window::ensureOnScreen(), Game::Game(), Client::gameExec(), Client::gameInit(), Gui::getMouseState(), Viewport::getMouseTile(), MobileOpenGLScreenshotHelper::getScreenshot(), OpenGLScreenshotHelper::getScreenshot(), SdlScreenshotHelper::getScreenshot(), TouchManager::init(), Client::initGraphics(), WindowManager::initTitle(), InventoryWindow::InventoryWindow(), TouchManager::loadTouchItem(), EventsManager::logEvent(), MapDebugTab::logic(), ModeListModel::ModeListModel(), Window::mouseDragged(), ChatWindow::mouseDragged(), ShortcutWindow::mouseDragged(), WindowManager::newChatMessage(), Popup::position(), PRAGMA45(), MobileOpenGLScreenshotHelper::prepare(), OpenGLScreenshotHelper::prepare(), SDLInput::pushInput(), Setup_Input::refreshAssignedKey(), TouchManager::resize(), WindowManager::resizeVideo(), TouchManager::safeDraw(), WindowMenu::safeDrawChildren(), CharCreateDialog::setButtonsPosition(), setConfigDefaults2(), Window::setDefaultSize(), WindowManager::setFullScreen(), WindowManager::setIcon(), WindowManager::setIsMinimized(), Window::setLocationRelativeTo(), Setup_Theme::Setup_Theme(), Setup_Video::Setup_Video(), GraphicsManager::setVideoMode(), ShopWindow::ShopWindow(), TextBoxPopup::show(), TextPopup::show(), CutInWindow::show(), PopupList::show(), PopupMenu::showPopup(), Game::slowLogic(), Client::stateGame(), Client::stateGame1(), TestLauncher::testBackend(), TestLauncher::testDraw(), TestLauncher::testFps2(), TestLauncher::testFps3(), TestLauncher::testTextures(), UserAgent::update(), WindowMenu::updateButtons(), Viewport::updateMaxVars(), Viewport::updateMidVars(), GraphicsManager::updatePlanformExtensions(), WindowManager::updateTitle(), Gui::videoResized(), SpellPopup::view(), StatusPopup::view(), and WindowMenu::WindowMenu().