mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Upgrade WX to r74856, mainly to support @2x.
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
// Author: Paul Gammans, Roger Gammans
|
||||
// Modified by:
|
||||
// Created: 11/04/2001
|
||||
// RCS-ID: $Id: gridctrl.h 69856 2011-11-28 13:23:33Z VZ $
|
||||
// Copyright: (c) The Computer Surgery (paul@compsurg.co.uk)
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
@ -249,6 +248,28 @@ private:
|
||||
const wxRect& rect,
|
||||
int row, int col);
|
||||
|
||||
// Helper methods of GetTextLines()
|
||||
|
||||
// Break a single logical line of text into several physical lines, all of
|
||||
// which are added to the lines array. The lines are broken at maxWidth and
|
||||
// the dc is used for measuring text extent only.
|
||||
void BreakLine(wxDC& dc,
|
||||
const wxString& logicalLine,
|
||||
wxCoord maxWidth,
|
||||
wxArrayString& lines);
|
||||
|
||||
// Break a word, which is supposed to be wider than maxWidth, into several
|
||||
// lines, which are added to lines array and the last, incomplete, of which
|
||||
// is returned in line output parameter.
|
||||
//
|
||||
// Returns the width of the last line.
|
||||
wxCoord BreakWord(wxDC& dc,
|
||||
const wxString& word,
|
||||
wxCoord maxWidth,
|
||||
wxArrayString& lines,
|
||||
wxString& line);
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // wxUSE_GRID
|
||||
|
Reference in New Issue
Block a user