summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f50d46c)
raw | patch | inline | side by side (parent: f50d46c)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 24 Jun 2008 02:12:10 +0000 (02:12 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 24 Jun 2008 02:12:10 +0000 (02:12 +0000) |
src/text-context.cpp | patch | blob | history |
diff --git a/src/text-context.cpp b/src/text-context.cpp
index 4e1fa87e160c7ac808ce3c84db0d1905e0dee985..4b25deb9335358114453153b98365c371dcb66dd 100644 (file)
--- a/src/text-context.cpp
+++ b/src/text-context.cpp
for (unsigned i = 0 ; i < quads.size() ; i += 4) {
SPCanvasItem *quad_canvasitem;
quad_canvasitem = sp_canvas_item_new(sp_desktop_controls(tc->desktop), SP_TYPE_CTRLQUADR, NULL);
- sp_ctrlquadr_set_rgba32(SP_CTRLQUADR(quad_canvasitem), 0x000000ff);
+ // FIXME: make the color settable in prefs
+ // for now, use semitrasparent blue, as cairo cannot do inversion :(
+ sp_ctrlquadr_set_rgba32(SP_CTRLQUADR(quad_canvasitem), 0x00777777);
sp_ctrlquadr_set_coords(SP_CTRLQUADR(quad_canvasitem), quads[i], quads[i+1], quads[i+2], quads[i+3]);
sp_canvas_item_show(quad_canvasitem);
tc->text_selection_quads.push_back(quad_canvasitem);