Skip to content

Commit

Permalink
removed files
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbrodude6119 committed Jun 30, 2023
1 parent d6eb1e1 commit 457fbb7
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 850 deletions.
3 changes: 1 addition & 2 deletions application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ App(
stack_size=1 * 1024,
order=90,
fap_icon="icons/evil_portal_10px.png",
fap_category="GPIO",
fap_icon_assets="assets",
fap_category="GPIO",
)
Binary file removed assets/KeyBackspaceSelected_16x9.png
Binary file not shown.
Binary file removed assets/KeyBackspace_16x9.png
Binary file not shown.
Binary file removed assets/KeySaveSelected_24x11.png
Binary file not shown.
Binary file removed assets/KeySave_24x11.png
Binary file not shown.
Binary file removed assets/WarningDolphin_45x42.png
Binary file not shown.
9 changes: 0 additions & 9 deletions evil_portal_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,6 @@ Evil_PortalApp *evil_portal_app_alloc() {
app->text_box_store = furi_string_alloc();
furi_string_reserve(app->text_box_store, EVIL_PORTAL_TEXT_BOX_STORE_SIZE);

app->text_input = uart_text_input_alloc();
view_dispatcher_add_view(app->view_dispatcher, Evil_PortalAppViewTextInput,
uart_text_input_get_view(app->text_input));

app->text_input = uart_text_input_alloc();
view_dispatcher_add_view(app->view_dispatcher, Evil_PortalAppViewStartPortal,
uart_text_input_get_view(app->text_input));

scene_manager_next_scene(app->scene_manager, Evil_PortalSceneStart);

return app;
Expand Down Expand Up @@ -101,7 +93,6 @@ void evil_portal_app_free(Evil_PortalApp *app) {

text_box_free(app->text_box);
furi_string_free(app->text_box_store);
uart_text_input_free(app->text_input);

// View dispatcher
view_dispatcher_free(app->view_dispatcher);
Expand Down
3 changes: 1 addition & 2 deletions evil_portal_app_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "evil_portal_custom_event.h"
#include "evil_portal_uart.h"
#include "scenes/evil_portal_scene.h"
#include "uart_text_input.h"
// #include "uart_text_input.h"

#include <gui/gui.h>
#include <gui/modules/text_box.h>
Expand All @@ -29,7 +29,6 @@ struct Evil_PortalApp {
FuriString *text_box_store;
size_t text_box_store_strlen;
TextBox *text_box;
UART_TextInput *text_input;

VariableItemList *var_item_list;

Expand Down
1 change: 0 additions & 1 deletion scenes/evil_portal_scene_config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
ADD_SCENE(evil_portal, start, Start)
ADD_SCENE(evil_portal, console_output, ConsoleOutput)
ADD_SCENE(evil_portal, text_input, UART_TextInput)
4 changes: 3 additions & 1 deletion scenes/evil_portal_scene_console_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ void evil_portal_scene_console_output_on_enter(void *context) {
app->text_box_store_strlen = 0;

if (0 == strncmp("help", app->selected_tx_string, strlen("help"))) {
const char *help_msg = "This project is a WIP.\ngithub.com/.\n\n";
const char *help_msg =
"BLUE = Waiting\nGREEN = Good\nRED = Bad\n\nThis project is a "
"WIP.\ngithub.com/bigbrodude6119/flipper-zero-evil-portal\n\n";
furi_string_cat_str(app->text_box_store, help_msg);
app->text_box_store_strlen += strlen(help_msg);
}
Expand Down
65 changes: 0 additions & 65 deletions scenes/evil_portal_scene_start_portal.c

This file was deleted.

65 changes: 0 additions & 65 deletions scenes/evil_portal_scene_text_input.c

This file was deleted.

Loading

0 comments on commit 457fbb7

Please sign in to comment.