Home » U++ Library support » RichText,QTF,RTF... » Zooming font of RichText to the size of StdFont
Re: Prompt with non-system dpi for text at first [message #23959 is a reply to message #23870] |
Thu, 10 December 2009 15:52   |
Sender Ghost
Messages: 301 Registered: November 2008
|
Senior Member |
|
|
luzr wrote on Sun, 29 November 2009 23:31 | Thank you for reporting the problem.
I believe even better solution is to put Csizeinit call to GUI_APP_MAIN.
|
Thank you for your solution.
Considering new topic I propose following modified solution:
- Make public static SizeInit function to call inlined Csizeinit function.
- Use created SizeInit function in the CtrlCore/Win32Wnd.cpp::InitWin32, CtrlCore/X11App.cpp::InitX11 functions.
Normal diff for 1796 revision:
File: CtrlCore\Ctrl.cpp
770a771,775
> void Ctrl::SizeInit()
> {
> Csizeinit();
> }
>
File: CtrlCore\CtrlCore.h
1328a1329,1330
>
> static void SizeInit();
File: CtrlCore\Win32Wnd.cpp
288c288
< Csizeinit();
---
> SizeInit();
File: CtrlCore\X11App.cpp
429c429
< Csizeinit();
---
> SizeInit();
[Updated on: Thu, 10 December 2009 16:13] Report message to a moderator
|
|
|
 |
|
Zooming font of RichText to the size of StdFont
By: Novo on Sat, 03 January 2009 06:45
|
 |
|
Re: Zooming font of RichText to the size of StdFont
By: mirek on Sun, 04 January 2009 15:07
|
 |
|
Re: Zooming font of RichText to the size of StdFont
By: Novo on Wed, 07 January 2009 05:20
|
 |
|
Re: Zooming font of RichText to the size of StdFont
By: mirek on Wed, 07 January 2009 13:29
|
 |
|
Re: Zooming font of RichText to the size of StdFont
By: Zeth on Sun, 08 February 2009 11:46
|
 |
|
Re: Zooming font of RichText to the size of StdFont
By: mirek on Mon, 09 February 2009 08:03
|
 |
|
Re: Zooming font of RichText to the size of StdFont
By: Zeth on Mon, 09 February 2009 09:39
|
 |
|
Re: Zooming font of RichText to the size of StdFont
By: mirek on Fri, 13 February 2009 15:11
|
 |
|
Prompt with non-system dpi for text at first
|
 |
|
Re: Prompt with non-system dpi for text at first
|
 |
|
Re: Prompt with non-system dpi for text at first
By: mirek on Sun, 29 November 2009 23:31
|
 |
|
Re: Prompt with non-system dpi for text at first
|
 |
|
Re: Prompt with non-system dpi for text at first
By: mirek on Thu, 10 December 2009 19:16
|
Goto Forum:
Current Time: Mon Apr 28 06:00:57 CEST 2025
Total time taken to generate the page: 0.00549 seconds
|