| 90 | }; |
| 91 | |
| 92 | SegGeometry segmentGeometry(void) |
| 93 | { |
| 94 | TextPool& text = TextPool::get(); |
| 95 | SegGeometry g; |
| 96 | g.segH = 16; |
| 97 | g.segY = 4; |
| 98 | g.pad = 7; |
| 99 | g.cellSaveW = (int)ceilf(text.width(i18n::t("main.tab_save"), 0.4f)) + g.pad * 2; |
| 100 | g.cellExtW = (int)ceilf(text.width(i18n::t("main.tab_extdata"), 0.4f)) + g.pad * 2; |
| 101 | g.segX = 320 - 6 - g.cellSaveW - g.cellExtW; |
| 102 | return g; |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | MainScreen::MainScreen(void) : hid(rowlen * collen, collen) |
no test coverage detected