diff options
author | Neil <nyamatongwe@gmail.com> | 2023-01-09 13:30:33 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-01-09 13:30:33 +1100 |
commit | e4328d24681689a7fd0cb876a5fdd94ffd84f5f9 (patch) | |
tree | 75776dcb8ed7c68f8978c8503fd1bbdd273a94f0 /src/XPM.h | |
parent | 3bd67bd942b5193fa11b0ae458e3daf2926b7602 (diff) | |
download | scintilla-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |