| 107 | }; |
| 108 | |
| 109 | SegGeometry segmentGeometry(void) |
| 110 | { |
| 111 | TextPool& text = TextPool::get(); |
| 112 | SegGeometry g; |
| 113 | g.segH = 16; |
| 114 | g.segY = 4; |
| 115 | g.pad = 7; |
| 116 | g.cellSaveW = (int)ceilf(text.width(i18n::t("main.tab_save"), 0.4f)) + g.pad * 2; |
| 117 | g.cellExtW = (int)ceilf(text.width(i18n::t("main.tab_extdata"), 0.4f)) + g.pad * 2; |
| 118 | g.segX = 320 - 6 - g.cellSaveW - g.cellExtW; |
| 119 | return g; |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | MainScreen::MainScreen(void) : hid(rowlen * collen, collen) |
no test coverage detected