Files
MuditaOS/module-gui/gui/widgets/screen.hpp
Pawel.Paprocki db8c1d35e5 [EGD-6739] Fix Enable change of display resolution on simulator
Define screen dimesions in one place
2021-05-14 08:50:11 +02:00

20 lines
379 B
C++

// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
//
// Created by pawelp on 13.05.2021.
//
#pragma once
#include <board.h>
constexpr unsigned getScreenResolutionX()
{
return BOARD_EINK_DISPLAY_RES_X;
}
constexpr unsigned getScreenResolutionY()
{
return BOARD_EINK_DISPLAY_RES_Y;
}