Added initial Markup, Frame, FrameRect and StrUtil implementations.

This commit is contained in:
Jim Evins
2013-10-29 22:39:07 -04:00
parent 336d892983
commit 5f1c2ec3e9
11 changed files with 600 additions and 6 deletions
+5 -5
View File
@@ -24,23 +24,23 @@
namespace libglabels
{
int Point::compare_to( const Point &b )
int Point::compare( const Point &a, const Point &b )
{
if ( mY < b.mY )
if ( a.mY < b.mY )
{
return -1;
}
else if ( mY > b.mY )
else if ( a.mY > b.mY )
{
return 1;
}
else
{
if ( mX < b.mX )
if ( a.mX < b.mX )
{
return -1;
}
else if ( mX > b.mX )
else if ( a.mX > b.mX )
{
return 1;
}