Line | |
---|
1 | |
---|
2 | #ifndef _LLX_APT_GRAPHICS_ |
---|
3 | #define _LLX_APT_GRAPHICS_ |
---|
4 | |
---|
5 | #include "Sources.hpp" |
---|
6 | |
---|
7 | #include <gtkmm.h> |
---|
8 | |
---|
9 | namespace net |
---|
10 | { |
---|
11 | namespace lliurex |
---|
12 | { |
---|
13 | namespace apt |
---|
14 | { |
---|
15 | namespace graphics |
---|
16 | { |
---|
17 | class SourceLineBubble |
---|
18 | { |
---|
19 | protected: |
---|
20 | |
---|
21 | |
---|
22 | Cairo::RefPtr<Cairo::Context> context; |
---|
23 | |
---|
24 | void DrawRoundSquare(float x,float y,float width,float height); |
---|
25 | |
---|
26 | float width; |
---|
27 | float height; |
---|
28 | |
---|
29 | SourceLine line; |
---|
30 | |
---|
31 | public: |
---|
32 | |
---|
33 | Cairo::RefPtr<Cairo::ImageSurface> surface; |
---|
34 | |
---|
35 | SourceLineBubble(SourceLine line,float width,float height); |
---|
36 | virtual ~SourceLineBubble(); |
---|
37 | |
---|
38 | void Update(); |
---|
39 | }; |
---|
40 | } |
---|
41 | } |
---|
42 | } |
---|
43 | } |
---|
44 | |
---|
45 | |
---|
46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.