mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
CtrlCore: RichTextZoom changed
git-svn-id: svn://ultimatepp.org/upp/trunk@12332 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
70c55ce732
commit
338beb6570
1 changed files with 9 additions and 0 deletions
|
|
@ -736,11 +736,20 @@ Size Ctrl::Dsize;
|
|||
Size Ctrl::Csize;
|
||||
bool Ctrl::IsNoLayoutZoom;
|
||||
|
||||
/*
|
||||
void InitRichTextZoom()
|
||||
{
|
||||
SetRichTextStdScreenZoom(96 * GetTextSize(sZoomText, StdFont()).cy / 13, 600);
|
||||
Ctrl::ReSkin();
|
||||
}
|
||||
*/
|
||||
void InitRichTextZoom()
|
||||
{
|
||||
Size h = 96 * Ctrl::Bsize / Ctrl::Dsize;
|
||||
SetRichTextStdScreenZoom(min(h.cx, h.cy), 600);
|
||||
Ctrl::ReSkin();
|
||||
}
|
||||
|
||||
|
||||
void Ctrl::Csizeinit()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue