mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
20 lines
452 B
C++
20 lines
452 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
namespace Upp {
|
|
template<>
|
|
String AsString(const Zoom& m)
|
|
{
|
|
return String().Cat() << m.m << '/' << m.d;
|
|
}
|
|
};
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
PromptYesNoCancel("This is an example of prompt Yes No Cancel!");
|
|
DUMP(GetRichTextStdScreenZoom());
|
|
SetStdFont(SansSerif(8));
|
|
PromptYesNoCancel("This is an example of prompt Yes No Cancel after changing font!");
|
|
DUMP(GetRichTextStdScreenZoom());
|
|
}
|