diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-31 20:29:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-31 20:29:03 +0300 |
commit | 7d987d35caf7a90b7ed0ffc942297ddc68c3da07 (patch) | |
tree | 90213329fe89653f92cbcfc20f550265e57c481d /src/resources/imagerect.h | |
parent | 8240be727f8d9ab3891dd750d67c68d5e9c38378 (diff) | |
download | mv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.gz mv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.bz2 mv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.xz mv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.zip |
Move ImagePosition enum into enums directory.
Diffstat (limited to 'src/resources/imagerect.h')
-rw-r--r-- | src/resources/imagerect.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/resources/imagerect.h b/src/resources/imagerect.h index 7cc06b250..865ba8491 100644 --- a/src/resources/imagerect.h +++ b/src/resources/imagerect.h @@ -27,23 +27,6 @@ class Image; -/** - * 9 images defining a rectangle. 4 corners, 4 sides and a middle area. The - * topology is as follows: - * - * <pre> - * !-----!-----------------!-----! - * ! 0 ! 1 ! 2 ! - * !-----!-----------------!-----! - * ! 3 ! 4 ! 5 ! - * !-----!-----------------!-----! - * ! 6 ! 7 ! 8 ! - * !-----!-----------------!-----! - * </pre> - * - * Sections 0, 2, 6 and 8 will remain as is. 1, 3, 4, 5 and 7 will be - * repeated to fit the size of the widget. - */ class ImageRect final { public: @@ -55,19 +38,6 @@ class ImageRect final A_DELETE_COPY(ImageRect) - enum ImagePosition - { - UPPER_LEFT = 0, - UPPER_CENTER = 1, - UPPER_RIGHT = 2, - LEFT = 3, - CENTER = 4, - RIGHT = 5, - LOWER_LEFT = 6, - LOWER_CENTER = 7, - LOWER_RIGHT = 8 - }; - Image *grid[9] A_NONNULLPOINTER; }; |