aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2023-01-09 13:30:33 +1100
committerNeil <nyamatongwe@gmail.com>2023-01-09 13:30:33 +1100
commite4328d24681689a7fd0cb876a5fdd94ffd84f5f9 (patch)
tree75776dcb8ed7c68f8978c8503fd1bbdd273a94f0 /src/XPM.h
parent3bd67bd942b5193fa11b0ae458e3daf2926b7602 (diff)
downloadscintilla-mirror-e4328d24681689a7fd0cb876a5fdd94ffd84f5f9.tar.gz
Move methods from header to implementation to avoid conversion warnings for
each includer.
Diffstat (limited to 'src/XPM.h')
-rw-r--r--src/XPM.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XPM.h b/src/XPM.h
index 31753da18..f2298066c 100644
--- a/src/XPM.h
+++ b/src/XPM.h
@@ -51,8 +51,8 @@ public:
int GetHeight() const noexcept { return height; }
int GetWidth() const noexcept { return width; }
float GetScale() const noexcept { return scale; }
- float GetScaledHeight() const noexcept { return height / scale; }
- float GetScaledWidth() const noexcept { return width / scale; }
+ float GetScaledHeight() const noexcept;
+ float GetScaledWidth() const noexcept;
int CountBytes() const noexcept;
const unsigned char *Pixels() const noexcept;
void SetPixel(int x, int y, ColourRGBA colour) noexcept;