Skip to content

Commit

Permalink
Merge pull request #35 from pec1985/timob-8814
Browse files Browse the repository at this point in the history
TIMOB-8814 - Simple animation
  • Loading branch information
joshthecoder committed May 17, 2013
2 parents 22a630e + d5729da commit d517bed
Show file tree
Hide file tree
Showing 17 changed files with 896 additions and 23 deletions.
5 changes: 4 additions & 1 deletion src/tibb/Layout/ParseProperty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,8 @@ void layoutPropertiesInitialize(struct LayoutProperties* layoutProperties) {
(*layoutProperties).centerY.valueType = None;
}


float getDimensionValue(std::string value, double ppi) {
ValueType type = _getValueType(value);
return (float)_computeValue(value, type, ppi);
}

1 change: 1 addition & 0 deletions src/tibb/Layout/ParseProperty.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ struct LayoutProperties {

void layoutPropertiesInitialize(struct LayoutProperties*);
void populateLayoutPoperties(struct InputProperty, struct LayoutProperties*, double);
float getDimensionValue(std::string value, double ppi);

#endif /* PARSEPROPERTY */

0 comments on commit d517bed

Please sign in to comment.