00001 /* 00002 * DisplayStyle.h 00003 * 00004 * Created on: Dec 7, 2011 00005 * Author: martin 00006 */ 00007 00008 #ifndef DISPLAYSTYLE_H_ 00009 #define DISPLAYSTYLE_H_ 00010 00011 #include <cairomm/context.h> 00012 00013 namespace display 00014 { 00015 00016 class DisplayStyle 00017 { 00018 public: 00019 virtual ~DisplayStyle(); 00020 virtual void prepare(Cairo::RefPtr<Cairo::Context> cr) const = 0; 00021 virtual void exec(Cairo::RefPtr<Cairo::Context> cr) const = 0; 00022 }; 00023 00024 } /* namespace display */ 00025 #endif /* DISPLAYSTYLE_H_ */