73 String devices =
_t(
"Graphics Devices").translation() +
":";
77 devices +=
"\n\t" + info.video_processor;
82 "Note, this program requires up-to-date Graphics-compatible drivers to render 3D.\n"
83 "While it may not be the cause of this issue, please ensure your detected graphics device(s) are compatible and that your graphics drivers are up-to-date.\n"
85 new_message.
replace(
"[devices]", devices);
86 new_message.
replace(
"[message]", message);
#define _t(english_string)
Definition Translator.h:87
#define _td(def, english_string)
Definition Translator.h:91
static Buffer< VideoCardInformation > GetVideoCardInfo()
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition GraphicsException.h:92
DeviceLostException(const TranslatedString &error)
Definition GraphicsException.h:94
DeviceLostException(const TranslatedString &error, const TranslatedString &category)
Definition GraphicsException.h:100
Definition Exception.hpp:56
void setCategory(const TranslatedString &category)
Definition Exception.hpp:115
virtual void setMessage(const TranslatedString &message)
Definition Exception.hpp:95
Definition GraphicsException.h:40
GraphicsExceptionType
Definition GraphicsException.h:43
@ e_general
Definition GraphicsException.h:44
@ e_device_lost
Definition GraphicsException.h:45
GraphicsException(const TranslatedString &error, const TranslatedString &category)
Definition GraphicsException.h:53
void setMessage(const TranslatedString &message) final override
Definition GraphicsException.h:68
GraphicsExceptionType type() const
Definition GraphicsException.h:63
void setType(GraphicsExceptionType type)
Definition GraphicsException.h:59
GraphicsException(const TranslatedString &error)
Definition GraphicsException.h:47
GraphicsExceptionType m_type
Definition GraphicsException.h:67
Definition TranslatedString.h:9
NDEVR_BASE_API TranslatedString & replace(const String &sub_string, const TranslatedString &replacement)
Definition TranslatedString.cpp:51