diff options
| author | nyamatongwe <unknown> | 2009-05-06 11:00:26 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2009-05-06 11:00:26 +0000 | 
| commit | 55d4a1dcbbe2f7b5f4651808825f40bd16c78b66 (patch) | |
| tree | 2bd35ffd1403abdc76a0575740266be72dd6731d /src | |
| parent | d5903ff90d8aad528c5f47f549563f3730d65d0c (diff) | |
| download | scintilla-mirror-55d4a1dcbbe2f7b5f4651808825f40bd16c78b66.tar.gz | |
First stage of Cocoa platform addition.
Changed identifier id since this is a reserved word in Objective C.
SCI_LEXER and SCI_NAMESPACE turned on automatically for OS X native
compilation.
Diffstat (limited to 'src')
| -rw-r--r-- | src/XPM.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -16,7 +16,7 @@ namespace Scintilla {   * Hold a pixmap in XPM format.   */  class XPM { -	int id;		// Assigned by container +	int pid;		// Assigned by container  	int height;  	int width;  	int nColours; @@ -42,8 +42,8 @@ public:  	/// Decompose image into runs and use FillRectangle for each run  	void Draw(Surface *surface, PRectangle &rc);  	char **InLinesForm() { return lines; } -	void SetId(int id_) { id = id_; } -	int GetId() { return id; } +	void SetId(int pid_) { pid = pid_; } +	int GetId() { return pid; }  	int GetHeight() { return height; }  	int GetWidth() { return width; }  	static const char **LinesFormFromTextForm(const char *textForm); | 
