Commit graph

14 commits

Author SHA1 Message Date
Mirek Fidler
1f675b5c32 CtrlLib, Draw: GetStdFontCyA returns height including bold/italic variants, ArrayCtrl/DropList are now using this to avoid DisplayPopup for AttrText().Bold() (on MacOS, Bold standard text has 1 more pixel than normal) 2025-02-18 02:00:35 +01:00
Mirek Fidler
84c80d95ff Attributes optimisation 2022-05-01 19:29:59 +02:00
Mirek Fidler
34ff691308 sizeof(wchar) is changed to 4 (32 bits) to support non BMP unicode characters
This might bring some incompatibilities in the code that expects wchar to be 16 bit, which
  escpecially involves dealing with Win32 (and to lesser extend MacOS) APIs, so if your application
  is doing that, please check all instances of WCHAR (UniChar on MacOS) or even wchar
  especially type casts.

  To support host APIs, char16 is introduced (but there is no 16-bit String varian).

  Use ToSystemCharsetW, FromSystemCharsetW to convert texts to Win32 API.

- Support of drawing non-BMP characters in GUI
- Vastly improved character font replacement code (when drawing characters missing with requested font, replacement font is used)
- Last instances of Win32 ANSI calls (those ending with A) are removed
- UTF handling routines are refactored and their's naming is unified
- RTF is now being able to handle non-BMP characters (RTF is used as clipboard format for RichText)

Other minor changes:

- fixed TryRealloc issue
- improved MemoryCheck
- Removed MemoryAlloc48/MemoryFree48
- In theide Background parsing should less often cause delays in the main thread
2021-12-02 12:03:19 +01:00
cxl
c69801def3 CtrlCore: Developing Cocoa support
git-svn-id: svn://ultimatepp.org/upp/trunk@12106 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-27 17:37:42 +00:00
cxl
6c3082da8f CtrlCore: Cocoa support
git-svn-id: svn://ultimatepp.org/upp/trunk@12105 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-26 17:17:02 +00:00
cxl
8ebdcbb0d5 uppsrc: NAMESPACE_UPP / END_UPP_NAMESPACE removed
git-svn-id: svn://ultimatepp.org/upp/trunk@10186 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-08-26 17:15:30 +00:00
cxl
5060fc51f3 CtrlLib: now allowing DisplayPopUp for PopupTable
git-svn-id: svn://ultimatepp.org/upp/trunk@9024 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-10-17 11:49:51 +00:00
cxl
8f467d6568 CtrlLib: PopUpTable refactored to improve animation
git-svn-id: svn://ultimatepp.org/upp/trunk@3221 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-02-18 11:23:25 +00:00
cxl
8ccb01870f Improved DropList, ColorPopUp and DropTree animation
git-svn-id: svn://ultimatepp.org/upp/trunk@2682 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-09-11 19:19:26 +00:00
rylek
5c08984b63 Multimonitor fixes: window resizing, MenuBar & PopUpTable positioning
git-svn-id: svn://ultimatepp.org/upp/trunk@1012 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-03-27 21:48:01 +00:00
cxl
437d2b1b95 Fixed 'DropList in slow GUI crash' problem
git-svn-id: svn://ultimatepp.org/upp/trunk@650 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-11-17 16:26:02 +00:00
cxl
64e4c9751f T++ Move fix, DropList fix
git-svn-id: svn://ultimatepp.org/upp/trunk@607 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-11-05 13:31:28 +00:00
cxl
3c0a6f1aa6 DropList::DropWidth, DropList::DropWidthZ
git-svn-id: svn://ultimatepp.org/upp/trunk@600 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-11-05 08:55:42 +00:00
mdelfede
263ff5f895 changed svn layout
git-svn-id: svn://ultimatepp.org/upp/trunk@281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-06-07 22:31:27 +00:00