aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-07-17Avoid loss of precision warnings from Borland.nyamatongwe1-4/+4
2012-07-17MultiMon.h can cause multiple definition problems when Scintilla is ↵nyamatongwe1-49/+66
statically linked. Avoid these issues and ensure compatibility with NT 4 by not including MultiMon.h and dynamically linking to the monitor APIs when available. If not available use the single monitor work area to define the available area.
2012-07-16Reenable building for Windows NT 4 on NT 4.nyamatongwe1-1/+5
2012-07-10Avoid warnings from Visual Studio Code Analysis for unchecked values and anyamatongwe1-52/+55
loop with unclear termination.
2012-07-02Implement clipped text drawing on Direct2D. This will improve drawing ofnyamatongwe1-1/+9
text blobs and block carets. From Marko Njezic.
2012-05-26Fix for IME input sometimes causing horizontal jumps. Bug #3529728nyamatongwe1-0/+2
2012-05-19Remove old, experimental code.nyamatongwe1-8/+0
2012-05-19Free text layout after drawing text.nyamatongwe1-0/+1
2012-05-08Add some casts to avoid narrowing warnings from g++ 4.7.nyamatongwe1-9/+11
2012-02-29Bug #3495791. Create auxiliary surfaces on Direct2D without alpha channel, asMarko Njezic1-1/+4
no underlying code expects them to be transparent. This will make text drawing use the same anti-aliasing mode no matter if using buffered mode or not.
2012-03-01Fix unsafe typecast. Bug #3495966.Marko Njezic1-1/+1
2012-03-03Bug #3494744. Implement InternalLeading() method on Direct2D. This will ↵nyamatongwe1-6/+20
improve drawing of text blobs and dimensioning of call tips. From Marko Njezic.
2012-03-01Bug #3494492. Prevent AlphaRectangle() from drawing blurry rectangle under ↵nyamatongwe1-11/+22
Direct2D. From Marko Njezic.
2012-03-01Bug #3494492. Change aveCharWidth in FontMeasurements to actually storenyamatongwe1-2/+2
fractional width. This change complements change set 3994. Make WidthText() and AverageCharWidth() actually return fractional widths under Direct2D. From Marko Njezic.
2012-03-01Remove duplicated code. Bug #3494492. From Marko Njezic.nyamatongwe1-1/+0
2012-02-29Bug #3494202. Fix blurry RGBA markers on Direct2D when centring causednyamatongwe1-4/+4
fractional coordinates.
2011-12-13Allow fractional pixel size return.nyamatongwe1-1/+1
2011-11-17Include system header needed by VS2005 for ceil function.nyamatongwe1-0/+1
From Greg Smith.
2011-11-14Dont try to use Direct2D with very old versions of Visual C++ as itnyamatongwe1-1/+1
is unlikely to be available.
2011-11-14Removed warning suppression that had been included for Visual C++ 6.0.nyamatongwe1-4/+0
2011-11-07Switch to Unicode call when copying font to match font creation.nyamatongwe1-2/+2
2011-11-05Fix failure to draw Polygons. Bug #3433558.nyamatongwe1-1/+6
Was interpreting floating point values as integers.
2011-10-31When using GDI, make a copy of the font for use in autocompletionsnyamatongwe1-11/+14
so it doesn't get deleted and so use the default font.
2011-09-25Palette support removed.nyamatongwe1-169/+52
2011-09-24Mingw32 doesn't have Direct2D or DirectWrite headers so turn off usenyamatongwe1-4/+41
of these libraries except when compiling with Visual C++.
2011-09-24Merged fractional text positioning branch.nyamatongwe1-184/+1030
2011-09-10Make compatible with VC98's version of the SDK.nyamatongwe1-1/+1
2011-09-09Merge with main repository.nyamatongwe1-1/+31
2011-09-04Autocompletion lists respond to mouse wheel events. Feature #3403600.nyamatongwe1-1/+31
From David Wolfendale.
2011-08-11Fix bugs in calltip and autocompletion with technology choice.nyamatongwe1-42/+29
Simplified Direct2D code.
2011-08-11Parallel stacks for GDI and DirectWrite works.nyamatongwe1-15/+22
2011-08-11Implemented parallel stacks for GDI and DirectWrite. GDI worksnyamatongwe1-100/+775
but DirectWrite does not draw well and eventuall crashes.
2011-08-10Implement 'technology' concept which will allow GDI and Direct2D/DirectWritenyamatongwe1-38/+39
to run at the same time for different windows and operations.
2011-08-10Implemented text quality parameter.nyamatongwe1-5/+25
2011-08-10Using safe sizes for ascent and descent which work for tallest characters.nyamatongwe1-87/+37
Fix HFONT conversion for use in autocompletion lists.
2011-08-08Removed old code.nyamatongwe1-15/+0
2011-08-08Make compile in narrow mode.nyamatongwe1-1/+1
2011-08-07Autocompletion lists work with Direct2D.nyamatongwe1-20/+60
2011-08-07Remove unused field.nyamatongwe1-3/+0
2011-08-07Dynamically loading Direct2D and DirectWrite at run time so can run on ↵nyamatongwe1-16/+35
Windows XP.
2011-08-07Move scaling of font to pixels up into platform-independent code.nyamatongwe1-5/+3
2011-08-07Implement APIs for fractional font sizes and a range of weights.nyamatongwe1-28/+29
2011-08-03Fixed some warnings.nyamatongwe1-1/+2
2011-08-02Use SEMI_BOLD for bold as Segoe UI looks better at semi bold than bold.nyamatongwe1-1/+3
Allow fractional font sizes by multiplying by 1000.
2011-08-02Allow floating point text positioning.nyamatongwe1-38/+43
2011-08-01Experimental Direct2D and DirectWrite platform layer.nyamatongwe1-363/+521
2011-06-25Add casts to avoid warnings from SDK 64-bit compiler.nyamatongwe1-4/+4
2011-06-25Initial implementation of RGBA images.nyamatongwe1-11/+63
2011-06-10Windows headers are system headers so use angle brackets.nyamatongwe1-1/+1
2011-04-16Avoid bad text measurement with very long pieces of text. Bug #3286637.nyamatongwe1-1/+2