| 138 | } |
| 139 | |
| 140 | static void |
| 141 | SaveSize(short kind, short height, short width) |
| 142 | { |
| 143 | if (kind < 0 || kind > kLastWindowKind) { |
| 144 | dprintf("Save bad kind %d", kind); |
| 145 | return; |
| 146 | } |
| 147 | InitWinFile(); |
| 148 | savePos[kind].validSize = 1; |
| 149 | savePos[kind].width = width; |
| 150 | savePos[kind].height = height; |
| 151 | FlushWinFile(); |
| 152 | } |
| 153 | |
| 154 | static short |
| 155 | GetWinKind(WindowPtr win) |
no test coverage detected