diff options
author | nyamatongwe <devnull@localhost> | 2009-05-06 11:00:26 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-05-06 11:00:26 +0000 |
commit | db7d4c7d5b62d95f008873dbf16db8fd5ad88cdb (patch) | |
tree | 2bd35ffd1403abdc76a0575740266be72dd6731d /src/XPM.h | |
parent | 53a714020e2a2b387f178e9941aa3d61f5ae5e58 (diff) | |
download | scintilla-mirror-db7d4c7d5b62d95f008873dbf16db8fd5ad88cdb.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/XPM.h')
-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); |