aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
2006-02-23Made number of colours in a palette dynamic so that large numbers ofnyamatongwe1-4/+20
colours will work.
2006-01-13If text drawing fails, draw as a sequence of 512 character segments.nyamatongwe1-16/+49
2005-12-10Jeffrey Ren's patch to allow Asian languages to work on English Windows 9x.nyamatongwe1-40/+70
Modified to follow coding conventions and minimise duplicated code.
2005-11-29A small amount of use of TCHAR avoids simplest issues whennyamatongwe1-1/+2
compiling as Unicode. Compiling as Unicode still not supported. Added DebugBreak call when assertion fails during paint processing as otherwise debugger pops up later in abort processing with different context.
2005-11-08Whitespace fix.nyamatongwe1-1/+1
2005-10-30Patch from Joseph Galbraith for 64 bit platforms.nyamatongwe1-9/+29
2005-08-23Took text insets into account when calculating maximum size ofnyamatongwe1-2/+3
autocompletion list.
2005-07-22Ensure DCs are emptied of non-stock, non-default objects before they arenyamatongwe1-1/+4
released to keep BoundsChecker happy.
2005-06-27Changed list box maximum size calculation to take scroll bar width andnyamatongwe1-1/+3
image width into account which may help avoid truncation when using some fonts.
2005-06-21Patch from Ben Harper enables autocompletion lists to display on anyamatongwe1-4/+14
secondary monitor above or to the left of the main monitor.
2005-06-07Patch from Blair McGlashan fixes failure to display autocompletion listnyamatongwe1-1/+1
text on original Windows XP.
2005-06-02Tweaked autocompletion width a little so that it is more likely to fit allnyamatongwe1-5/+7
strings when the string with the most characters contains narrow characters.
2005-05-27Fix crash with empty autocompletion argument.nyamatongwe1-1/+1
2005-03-25Patch from Blair McGlashan for autocompletion on Windows tonyamatongwe1-122/+639
* Set maximum width of list * set maximum height of list * better calculate width * use ellipsis when text is truncated to fit window * use popup window so it can extend past parent window * disallow resizing too small * draw to bottom edge when resized so last item not full line high * improve time to display by by 90% Minor tweaks by me to fix warnings, layout etc.
2004-12-03Safest portion of patch from Régis Vaquette to allow compilationnyamatongwe1-6/+6
for Windows CE. Changes literal strings to have TEXT() so convert to Unicode when comiling for Windows CE.
2004-03-29Patch from Robin Dunn to pass an extra flag down tonyamatongwe1-1/+2
font rendering to allow a platform-specific tweak.
2003-09-27Removed ListBox::Sort as always created in sorted order.nyamatongwe1-5/+0
2003-08-12Fixed display of pixmaps in autocompletion lists.nyamatongwe1-3/+3
2003-05-09Fixed problem when missing reverse arrow cursor resource meant cursor ↵nyamatongwe1-1/+5
disappeared over margin.
2003-04-18Changed Function* to simpler Function.nyamatongwe1-2/+2
2003-04-18Cast to allow recent gcc and Borland compilers to build.nyamatongwe1-1/+2
2003-04-18Patch from Simon to make ExternalLexer platform independent.nyamatongwe1-0/+30
2003-04-09Limit the number of characters in string arguments to text drawing andnyamatongwe1-16/+17
measurement methods to 8192 on Windows 9x, otherwise thaere can be crashes.
2003-04-06Avoid calling API before Window created.nyamatongwe1-2/+3
2003-04-06Move method for Rectangle class.nyamatongwe1-4/+7
Ensure windows that are moved are not moved off screen to the top or left.
2003-04-05Changes to allow calltips to be popup rather than child windows.nyamatongwe1-5/+14
2003-03-30Make IDC_HAND visible with old build environments.nyamatongwe1-0/+4
Avoid calling ::IsChild when wParam 0 to avoid BoundsChecker warning.
2003-03-21Optimising by not drawing space characters in transparent mode.nyamatongwe1-15/+21
2003-03-20Patch from Simon Steele to implement the hotspot style and associatednyamatongwe1-0/+3
notifications.
2003-03-09Added Pango text display support to GTK+ platform.nyamatongwe1-6/+6
Added WindowID parameter to all Surface initialisation methods as Pango requires a window to determine the context used for text functions. AutoSurface changed because of above to take an Editor* argument so it can then discover the code page and window.
2003-02-23Patch from Jakub Vrana to avoid mouse debouncing on Windows where assigningnyamatongwe1-0/+4
a key to double click can result in two mouse clicks arriving with the same time.
2003-02-06Fixed bug in array resizing.nyamatongwe1-1/+2
2003-02-05Moved IsNT to PlatWin and cached the result.nyamatongwe1-3/+14
Change maximum number of pixels when measuring text on NT to be 1000000 rather than 30000 possible on Windows. Increased size of Unicode buffers to 10000 elements to handle longer paragraphs of text.
2003-02-02Transaprent text drawing.nyamatongwe1-1/+21
2003-01-31Fixes to autocompletion pixmaps from Mauritius Thinnes.nyamatongwe1-1/+3
2003-01-18Added SWP_NOZORDER to SetWindowPos to avoid fronting windows.nyamatongwe1-1/+1
2003-01-12Changes to make DBCS work on GTK+ and handle DBCS sequences longer than 2 bytes.nyamatongwe1-0/+8
2003-01-12Additions from Yukihiro Nakai to enable DBCS mode on GTK+.nyamatongwe1-0/+6
DBCS mode for Surface so that different font and text drawing code can be invoked on GTK+.
2003-01-10Made ListBox an interface so that a platform-specific subclass, ListBoxX,nyamatongwe1-30/+314
can be used hiding implementation details. Owner drawn listbox allows pixmap icons and Unicode text.
2003-01-03Made method signature compatible with text form XPMs.nyamatongwe1-1/+1
2002-11-21Patch from Biswa to add icons to autocompletion lists.nyamatongwe1-1/+4
2002-11-19Using strncpy to avoid crashes with long font names.nyamatongwe1-14/+14
2002-10-11Made some functions static as they should not be used from outside.nyamatongwe1-2/+2
2002-09-15Limiting the number of characters to ExtTextOut to be less than 65536nyamatongwe1-0/+6
as there appears to be a GDI 16 bit limitation.
2002-09-04Measure all characters in Unicode mode.nyamatongwe1-1/+1
2002-07-31Fixed problems with runs of text >= 5000 characters.nyamatongwe1-5/+11
2002-06-09Compatibility with 64 bit systems.nyamatongwe1-3/+8
2002-02-20Fixed bug where extra position element was written when measuring text innyamatongwe1-1/+0
Unicode mode.
2002-02-12Made font cache thread safe by using a critical section.nyamatongwe1-11/+27
2002-01-18Updated copyrights for 2002.nyamatongwe1-1/+1