Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Ignore selection of OVER/UNDER |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | temp |
Files: | files | file ages | folders |
SHA3-256: |
d4b0749e8931c391a1a7e69d71276935 |
User & Date: | base@atomicules.co.uk 2013-09-15 21:25:57 |
Context
2013-09-17
| ||
22:43 |
Split out ITEM creation into separate func so can clean on exit
As otherwise can't free up the memory, etc. This makes clean up work Yay, pretty much done. Leaf check-in: cf92beadf9 user: base@atomicules.co.uk tags: temp, trunk | |
2013-09-15
| ||
21:25 | Ignore selection of OVER/UNDER check-in: d4b0749e89 user: base@atomicules.co.uk tags: temp, trunk | |
17:22 | Add under/over exposure indication in check-in: 216708513b user: base@atomicules.co.uk tags: temp, trunk | |
Changes
Changes to exposurses.c.
︙ | ︙ | |||
193 194 195 196 197 198 199 | void (*p)(char *); cur = current_item(*menu); p = item_userptr(cur); /* Learning notes - Don't understand this bit */ /* Is this a function pointer? */ p((char *)item_name(cur)); | | > > > > | 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | void (*p)(char *); cur = current_item(*menu); p = item_userptr(cur); /* Learning notes - Don't understand this bit */ /* Is this a function pointer? */ p((char *)item_name(cur)); /* need to igore over/under if selected, probably easier than try to prevent selection */ if (!((strcmp("OVER", shutter_sel) == 0) || (strcmp("UNDER", shutter_sel) == 0) || (strcmp("OVER", aperture_sel) == 0) || (strcmp("UNDER", aperture_sel) == 0))) { switch (selection_counter) { case 1: { /* Exposure selected */ selection_counter += 1; menu_counter += 1; move(LINES - 2, 0); clrtoeol(); mvprintw(LINES - 2, 0, "Select ISO"); |
︙ | ︙ | |||
268 269 270 271 272 273 274 275 276 277 278 279 280 281 | move(LINES - 2, 0); clrtoeol(); mvprintw(LINES - 2, 0, "Select EV"); refresh(); } break; } } break; } wrefresh(*win); } /* Unpost and free all the memory taken up */ remove_menu(exposure_items, exposure_menu, n_exposure); | > > > > > > > > > | 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 | move(LINES - 2, 0); clrtoeol(); mvprintw(LINES - 2, 0, "Select EV"); refresh(); } break; } } /* If over/under need to clear selection so know which is blank * when a proper selection is made */ if ((strcmp("OVER", shutter_sel) == 0) || (strcmp("UNDER", shutter_sel) == 0)) { strcpy(shutter_sel, ""); } if ((strcmp("OVER", aperture_sel) == 0) || (strcmp("UNDER", aperture_sel) == 0)) { strcpy(aperture_sel, ""); } } break; } wrefresh(*win); } /* Unpost and free all the memory taken up */ remove_menu(exposure_items, exposure_menu, n_exposure); |
︙ | ︙ |