git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shading still doesn't work
[ipdf/code.git]
/
src
/
document.cpp
diff --git
a/src/document.cpp
b/src/document.cpp
index
8a5635c
..
72a12c1
100644
(file)
--- a/
src/document.cpp
+++ b/
src/document.cpp
@@
-284,7
+284,7
@@
void Document::Load(const string & filename)
#endif
}
#endif
}
-unsigned Document::AddGroup(unsigned start_index, unsigned end_index, const Colour &
shading
)
+unsigned Document::AddGroup(unsigned start_index, unsigned end_index, const Colour &
fill
)
{
Real xmin = 0; Real ymin = 0;
Real xmax = 0; Real ymax = 0;
{
Real xmin = 0; Real ymin = 0;
Real xmax = 0; Real ymax = 0;
@@
-306,7
+306,7
@@
unsigned Document::AddGroup(unsigned start_index, unsigned end_index, const Colo
Rect bounds(xmin,ymin, xmax-xmin, ymax-ymin);
Rect bounds(xmin,ymin, xmax-xmin, ymax-ymin);
- Group group
= {start_index, end_index, shading}
;
+ Group group
(start_index, end_index, 0U, fill)
;
unsigned data_index = AddGroupData(group);
unsigned result = Add(GROUP, bounds,data_index);
unsigned data_index = AddGroupData(group);
unsigned result = Add(GROUP, bounds,data_index);
UCC
git Repository :: git.ucc.asn.au