aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-05-06 11:00:26 +0000
committernyamatongwe <unknown>2009-05-06 11:00:26 +0000
commit55d4a1dcbbe2f7b5f4651808825f40bd16c78b66 (patch)
tree2bd35ffd1403abdc76a0575740266be72dd6731d /src
parentd5903ff90d8aad528c5f47f549563f3730d65d0c (diff)
downloadscintilla-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.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);