@@ -224,6 +224,7 @@ static void drawIcon(int x, int y, int width, int height, const uint8_t *image,
224
224
}
225
225
226
226
static void drawEntry (menuEntry_s * me , int off_x , int is_active ) {
227
+ return ;
227
228
ThemeLayoutObject * layoutobj = & themeCurrent .layoutObjects [ThemeLayoutId_MenuList ];
228
229
int x , y ;
229
230
int start_y = layoutobj -> posStart [1 ];//*(n % 2);
@@ -600,7 +601,7 @@ u32 drawStatus() {
600
601
}
601
602
602
603
void drawButtons (menu_s * menu , bool emptyDir , int * out_basePos ) {
603
- ThemeLayoutObject * layoutobj = & themeCurrent .layoutObjects [ThemeLayoutId_ButtonA ];
604
+ /* ThemeLayoutObject *layoutobj = &themeCurrent.layoutObjects[ThemeLayoutId_ButtonA];
604
605
int basePos[2]={0};
605
606
606
607
basePos[0] = layoutobj->posStart[0];
@@ -631,7 +632,7 @@ void drawButtons(menu_s* menu, bool emptyDir, int *out_basePos) {
631
632
}
632
633
633
634
out_basePos[0] = basePos[0];
634
- out_basePos [1 ] = basePos [1 ];
635
+ out_basePos[1] = basePos[1];*/
635
636
}
636
637
637
638
void menuUpdateNetloader (netloaderState * netloader_state ) {
@@ -841,7 +842,7 @@ void menuLoop(void) {
841
842
}
842
843
}
843
844
844
- if (active_entry != NULL ) {
845
+ /* if(active_entry != NULL) {
845
846
const char *buttonstr = "";
846
847
847
848
if (active_entry->type == ENTRY_TYPE_THEME)
@@ -855,11 +856,11 @@ void menuLoop(void) {
855
856
DrawTextFromLayoutRelative(ThemeLayoutId_ButtonAText, curPos[0], curPos[1], layoutobj->posStart, curPos, themeCurrent.textColor, buttonstr, 'l');
856
857
layoutobj = &themeCurrent.layoutObjects[ThemeLayoutId_ButtonA];
857
858
DrawTextFromLayoutRelative(ThemeLayoutId_ButtonA, curPos[0], curPos[1], layoutobj->posStart, curPos, themeCurrent.textColor, themeCurrent.buttonAText, 'l');
858
- }
859
+ }*/
859
860
860
861
drawButtons (menu , false, curPos );
861
862
862
- if (active_entry && active_entry -> type != ENTRY_TYPE_THEME ) {
863
+ /* if (active_entry && active_entry->type != ENTRY_TYPE_THEME) {
863
864
const char *buttonstr = "";
864
865
if (active_entry->starred)
865
866
buttonstr = textGetString(StrId_Actions_Unstar);
@@ -870,12 +871,12 @@ void menuLoop(void) {
870
871
DrawTextFromLayoutRelative(ThemeLayoutId_ButtonXText, curPos[0], curPos[1], layoutobj->posStart, curPos, themeCurrent.textColor, buttonstr, 'r');
871
872
layoutobj = &themeCurrent.layoutObjects[ThemeLayoutId_ButtonX];
872
873
DrawTextFromLayoutRelative(ThemeLayoutId_ButtonX, curPos[0], curPos[1], layoutobj->posStart, curPos, themeCurrent.textColor, themeCurrent.buttonXText, 'l');
873
- }
874
+ }*/
874
875
875
876
}
876
877
877
- layoutobj = & themeCurrent .layoutObjects [ThemeLayoutId_MenuPath ];
878
- if (layoutobj -> visible ) DrawTextTruncate (layoutobj -> font , layoutobj -> posStart [0 ], layoutobj -> posStart [1 ], themeCurrent .textColor , menu -> dirname , layoutobj -> size [0 ], "..." );
878
+ // layoutobj = &themeCurrent.layoutObjects[ThemeLayoutId_MenuPath];
879
+ // if (layoutobj->visible) DrawTextTruncate(layoutobj->font, layoutobj->posStart[0], layoutobj->posStart[1], themeCurrent.textColor, menu->dirname, layoutobj->size[0], "...");
879
880
880
881
menuDrawMsgBox ();
881
882
}
0 commit comments