source: tags/testbuild/WINDOW/aw_Xm.hxx

Last change on this file was 10988, checked in by westram, 11 years ago
  • remove unused function 'clear_text' from AW_device + AW_device_Xm (might be unused because overload was broken)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1#ifndef AW_XM_HXX
2#define AW_XM_HXX
3
4#ifndef AW_COMMON_XM_HXX
5#include "aw_common_xm.hxx"
6#endif
7
8class AW_device_Xm : public AW_device {
9    bool line_impl(int gc, const AW::LineVector& Line, AW_bitset filteri);
10    bool text_impl(int gc, const char *str, const AW::Position& pos, AW_pos alignment, AW_bitset filteri, long opt_strlen);
11    bool box_impl(int gc, bool filled, const AW::Rectangle& rect, AW_bitset filteri);
12    bool circle_impl(int gc, bool filled, const AW::Position& center, const AW::Vector& radius, AW_bitset filteri);
13    bool arc_impl(int gc, bool filled, const AW::Position& center, const AW::Vector& radius, int start_degrees, int arc_degrees, AW_bitset filter);
14    bool filled_area_impl(int gc, int npos, const AW::Position *pos, AW_bitset filteri) {
15        return generic_filled_area(gc, npos, pos, filteri);
16    }
17    bool invisible_impl(const AW::Position& pos, AW_bitset filteri) { return generic_invisible(pos, filteri); }
18
19    void specific_reset() {}
20   
21public:
22    AW_device_Xm(AW_common *commoni)
23        : AW_device(commoni)
24    {}
25
26    AW_common_Xm *get_common() const { return DOWNCAST(AW_common_Xm*, AW_device::get_common()); }
27
28    AW_DEVICE_TYPE type();
29
30    void clear(AW_bitset filteri);
31    void clear_part(const AW::Rectangle& rect, AW_bitset filteri);
32
33    void flush();
34    void move_region(AW_pos src_x, AW_pos src_y, AW_pos width, AW_pos height, AW_pos dest_x, AW_pos dest_y);
35};
36
37#else
38#error aw_Xm.hxx included twice
39#endif
Note: See TracBrowser for help on using the repository browser.