Commit graph

32 commits

Author SHA1 Message Date
Mirek Fidler
21cceb0031 Draw: In Win32, DrawImage with Color now using CachedSetColorKeepAlpha instead of emulation when drawing 2026-04-18 08:55:01 +02:00
Mirek Fidler
0c99ef514e .DDUMPs 2025-12-18 13:38:56 +01:00
Mirek Fidler
76ed3e4583 CtrlCore: attempt at fix of BITMAPV5HEADER issue 2025-12-18 13:32:26 +01:00
Mirek Fidler
74169935dd CtrlCore: Win32 now using BITMAPV5HEADER 2025-10-30 22:29:51 +01:00
Mirek Fidler
3d0f62c99d CtrlCore: Fixed problem with predefined cursors in Win32 2025-08-09 14:13:38 +02:00
Mirek Fidler
38e25e80e9 RichEdit: Developing Diagram; Win32: It looks like win32 API wants cursor unmultuplied 2025-08-06 15:37:44 +02:00
Mirek Fidler
bb35660f7a ide: Automatic rc file creation (with app icon and manifest), CtrlLib: Nicer Win32 dialog icons 2024-12-13 11:41:25 +01:00
Mirek Fidler
8016c484df U++: C++23 compatibility 2024-09-18 21:54:14 +02:00
Mirek Fidler
febbbf7f8b uppsrc: Fixed various MSBT warnings 2022-12-11 09:36:58 +01: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
d6ceddf9ae CtrlCore: Fixed image printing issue
git-svn-id: svn://ultimatepp.org/upp/trunk@15210 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-10-07 13:09:58 +00:00
cxl
2352d9b58c Core: Mem.h improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@14505 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-27 16:39:08 +00:00
cxl
36fadbf7bf uppsrc: Many memcpy, memset converted to new memory functions
git-svn-id: svn://ultimatepp.org/upp/trunk@14493 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-22 15:14:16 +00:00
cxl
50c7118301 CtrlCore: ImageWin32 optimisations
git-svn-id: svn://ultimatepp.org/upp/trunk@14343 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-21 08:37:09 +00:00
cxl
5096888c17 CtrlCore: DrawImage Win32 improved
git-svn-id: svn://ultimatepp.org/upp/trunk@14339 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-20 15:53:56 +00:00
cxl
a4a1d405fc CtrlCore: ImageWin32 simplified, RectTracker now works correctly with negative minsize
git-svn-id: svn://ultimatepp.org/upp/trunk@14331 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-18 15:12:45 +00:00
cxl
552a4bf7a9 CtrlCore: Improved Image cache behaviour in Win32
git-svn-id: svn://ultimatepp.org/upp/trunk@12788 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-02-23 15:28:18 +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
5b2dc3973d Additional check in ImageWin32.cpp
git-svn-id: svn://ultimatepp.org/upp/trunk@9628 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-03-25 18:22:51 +00:00
cxl
96bc6fe038 Draw: Dither, CtrlCore: Win32 now supports dithering on purely monochromatic printers
git-svn-id: svn://ultimatepp.org/upp/trunk@7314 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-04-25 13:25:33 +00:00
cxl
c95514367d CtrlCore: Fixed Win32 printing, plugin/jpg: orientation endiannes
git-svn-id: svn://ultimatepp.org/upp/trunk@6580 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-19 15:14:04 +00:00
cxl
b1cdb85e42 CtrlCore: Win32 SystemDraw speed optimized (single additional CompatibleDC)
git-svn-id: svn://ultimatepp.org/upp/trunk@6074 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-05-16 08:43:27 +00:00
cxl
bd87a04fda Draw, CtrlCore: Major refactor of Draw
git-svn-id: svn://ultimatepp.org/upp/trunk@5545 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-11-11 12:33:47 +00:00
cxl
11d9be4998 Core: LRUCache changes
git-svn-id: svn://ultimatepp.org/upp/trunk@5447 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-10-21 15:20:22 +00:00
cxl
05e6fc0b20 .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3556 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-25 16:57:23 +00:00
cxl
6e0acbc3ee .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3509 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-10 11:28:56 +00:00
cxl
b1a683fbb2 .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3501 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-09 19:02:49 +00:00
cxl
c701b7ae38 CtrlCore: Extended SetSurface
git-svn-id: svn://ultimatepp.org/upp/trunk@1465 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-02 10:11:32 +00:00
cxl
68a73dff42 Draw: headless draw final milestone reached
git-svn-id: svn://ultimatepp.org/upp/trunk@1436 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-19 13:12:18 +00:00
rylek
e48f20a683 GetPaintRect support in SystemDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@1423 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-17 11:50:58 +00:00
cxl
04a06f8ce7 developing new draw
git-svn-id: svn://ultimatepp.org/upp/trunk@1372 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 20:31:00 +00:00
cxl
a438f12393 Merging newdraw..
git-svn-id: svn://ultimatepp.org/upp/trunk@1370 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 19:35:02 +00:00
Renamed from uppsrc/Draw/ImageWin32.cpp (Browse further)