mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
feat: add tui (#758)
This commit also contains an entire redesign of the GUI interface, which now contains a sidebar for all panels. Hopefully checkra1n approves :)
This commit is contained in:
42 files changed
+2895
-487
No files matched your search
+3
-3
@@ -1,9 +1,10 @@
|
||||
#ifdef WITH_GUI
|
||||
#if defined(WITH_GUI) || defined(WITH_TUI)
|
||||
|
||||
#ifndef SEQUENCE_H
|
||||
#define SEQUENCE_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
struct DfuButton
|
||||
{
|
||||
@@ -26,7 +27,6 @@ struct DfuSequence
|
||||
std::string imageName;
|
||||
int imageWidth = 0;
|
||||
int imageHeight = 0;
|
||||
int imageOffsetX = 0;
|
||||
|
||||
std::vector<DfuButton> buttons;
|
||||
std::vector<DfuStep> steps;
|
||||
@@ -37,4 +37,4 @@ bool SequenceIsSupported(const std::string& deviceKey);
|
||||
|
||||
#endif // SEQUENCE_H
|
||||
|
||||
#endif // WITH_GUI
|
||||
#endif // WITH_GUI || WITH_TUI
|
||||
Reference in new issue
Block a user