aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-05-06 11:00:26 +0000
committernyamatongwe <devnull@localhost>2009-05-06 11:00:26 +0000
commitdb7d4c7d5b62d95f008873dbf16db8fd5ad88cdb (patch)
tree2bd35ffd1403abdc76a0575740266be72dd6731d /src
parent53a714020e2a2b387f178e9941aa3d61f5ae5e58 (diff)
downloadscintilla-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')
-rw-r--r--src/XPM.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/XPM.h b/src/XPM.h
index 0ee68c072..07cb5802b 100644
--- a/src/XPM.h
+++ b/src/XPM.h
@@ -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);