~onli/simdock/master

« back to all changes in this revision

Viewing changes to src/main.h

  • Committer: onli
  • Date: 2014-06-11 09:01:45 UTC
  • Revision ID: git-v1:2d4ed172029cc85b89207ba9d3967f536b9ad70b
Try to smoothen horizontal animation
This only works sometimes, but does not seem to make it worse. The whole animation/position/size flow should be rewritten

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
/* ------ Various functions for simImage array manipulation -------*/
152
152
 
153
153
/* Reposition icons according to their size and order
154
 
 * Currently repositioning starts from index 0 so all the icons are moved to the right
155
 
 * TODO: Implement right side and left side repositioning starting from "ind" index?
156
154
 */
157
 
wxSize PositionIcons (wxSize sz, simSettings settings, ImagesArray* ImagesList);
 
155
wxSize PositionIcons (wxSize sz, simSettings settings, ImagesArray* ImagesList, bool* changeIcons);
158
156
wxSize FirstPosition (wxSize sz, simSettings settings, ImagesArray* list);
159
157
 
160
158
/* ------ Various functions for simImage array manipulation -------*/