Commit Graph

6 Commits

Author SHA1 Message Date
Mike Small dc914b56b2 Make PlaceIcon new position as return value.
minor cleanup to avoid returning values through pointer arguments.
2020-11-07 12:45:13 -05:00
Mike Small b3028310eb icons.cc minor cleanup
- use std::pair instead of own struct
- initialize icon_area_x each time instead of caching the value.
- comment tidying
2020-10-17 20:49:04 -04:00
Mike Small b4207174da Put first icon in bottom right.
Also drop use of IconUp and IconDown.
2019-10-21 23:35:52 -04:00
Mike Small 3830011bc5 stop hard coding values for icon placement
This breaks on multiscreen, but I don't use that.
2019-10-12 10:02:00 -04:00
Mike Small 0bc3929750 Fine tune the simple icon placement technique.
iconifying is working how I want it now.
2019-10-07 23:58:20 -04:00
Mike Small 740a9e9e79 Start converting to C++. Start simplified icon placement. 2019-10-06 22:28:07 -04:00