#ifndef __gnome_canvas_lineset_h__
#define __gnome_canvas_lineset_h__
+#include <stdint.h>
#include <libgnomecanvasmm/item.h>
namespace Gnome {
/** Remove the line at coord
*/
void remove_line(double coord);
-
+
/** Remove all lines in a coordinate range
*/
void remove_lines(double c1, double c2);
/** Remove all lines with a coordinate lower than coord
*/
void remove_until(double coord);
-
+
/** Remove all lines with a coordinate equal to or higher than coord.
*/
void remove_from(double coord);
/* debug */
void print_lines();
-
+
protected:
struct Line {
Line(double c, double w, uint32_t color);
void region_needs_update(double coord1, double coord2);
bool update_bounds();
void update_lines(bool need_redraw);
- void redraw_request(ArtIRect&);
- void redraw_request(ArtDRect&);
+ void redraw_request (ArtDRect const &);
Lines::iterator line_at(double coord);