mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@6635 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e9380cc33c
commit
9b8be191ba
4 changed files with 24 additions and 1 deletions
|
|
@ -733,7 +733,7 @@ bool Ctrl::IsNoLayoutZoom;
|
|||
|
||||
void InitRichTextZoom()
|
||||
{
|
||||
SetRichTextStdScreenZoom(Ctrl::HorzLayoutZoom(96), 600);
|
||||
SetRichTextStdScreenZoom(min(Ctrl::VertLayoutZoom(96), Ctrl::HorzLayoutZoom(96)), 600);
|
||||
Ctrl::ReSkin();
|
||||
}
|
||||
|
||||
|
|
|
|||
9
upptst/FontZoomTest/FontZoomTest.upp
Normal file
9
upptst/FontZoomTest/FontZoomTest.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
CtrlLib;
|
||||
|
||||
file
|
||||
main.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI SSE2";
|
||||
|
||||
4
upptst/FontZoomTest/init
Normal file
4
upptst/FontZoomTest/init
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef _FontZoomTest_icpp_init_stub
|
||||
#define _FontZoomTest_icpp_init_stub
|
||||
#include "CtrlLib/init"
|
||||
#endif
|
||||
10
upptst/FontZoomTest/main.cpp
Normal file
10
upptst/FontZoomTest/main.cpp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
PromptYesNoCancel("&&&&This is an example of prompt!");
|
||||
SetStdFont(Serif(10));
|
||||
PromptYesNoCancel("&&&&This is an example of prompt after changing font!");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue