Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/freestyle/intern/application/AppView.h')
-rw-r--r--source/blender/freestyle/intern/application/AppView.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/application/AppView.h b/source/blender/freestyle/intern/application/AppView.h
index b6a5dfcf1cc..d23172c9f8d 100644
--- a/source/blender/freestyle/intern/application/AppView.h
+++ b/source/blender/freestyle/intern/application/AppView.h
@@ -29,11 +29,16 @@ public:
//inherited
inline unsigned int width() { return _width; }
inline unsigned int height() { return _height; }
+ inline BBox<Vec2i> border() { return _border; }
inline void setWidth( unsigned int width ) { _width = width; }
inline void setHeight( unsigned int height ) { _height = height; }
+ inline void setBorder( int xmin, int ymin, int xmax, int ymax ) {
+ _border = BBox<Vec2i>(Vec2i(xmin, ymin), Vec2i(xmax, ymax));
+ }
protected:
unsigned int _width, _height;
+ BBox<Vec2i> _border;
public: