diff --git a/README.md b/README.md index 47b84cd85729956d73db623d25617f40df3c4df8..dab1501fea9a0372f69aa917b56cea85657c8d0f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Keeping the latest release files and all features I found, and possible my own f [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CBPQA4HRRPJQ6&source=url) I only have this [Portapack H2+HackRF+battery](https://s.click.aliexpress.com/e/_dSMPvNo), so that's the version I'll be using for testing the releases before I post them here. BTW, if you have the same H2 (I know... I know it is a *dirty* clone) you could print my case: -[](https://www.thingiverse.com/thing:4260973) +[](https://www.thingiverse.com/thing:4260973) <details> <summary>More details about the H2 case</summary> @@ -18,7 +18,7 @@ I only have this [Portapack H2+HackRF+battery](https://s.click.aliexpress.com/e/ <details> <summary>Printed magnetic cover for the H2 case</summary> -[](https://www.thingiverse.com/thing:4278961) +[](https://www.thingiverse.com/thing:4278961) [STL files](https://www.thingiverse.com/thing:4278961) diff --git a/doc/banner.png b/doc/banner.png deleted file mode 100644 index 1432de9041dcdc1701258bdba7109fba03216a75..0000000000000000000000000000000000000000 Binary files a/doc/banner.png and /dev/null differ diff --git a/doc/helpful.png b/doc/helpful.png deleted file mode 100644 index 022af31c99578b4e6fa92d602ea9c5707454c864..0000000000000000000000000000000000000000 Binary files a/doc/helpful.png and /dev/null differ diff --git a/doc/images/hardware/portapack_h1_operating.jpg b/doc/images/hardware/portapack_h1_operating.jpg deleted file mode 100644 index f452acd79dc3c8bb0456cbf5313ad627e5997c5e..0000000000000000000000000000000000000000 Binary files a/doc/images/hardware/portapack_h1_operating.jpg and /dev/null differ diff --git a/doc/images/hardware/portapack_h1_parts.jpg b/doc/images/hardware/portapack_h1_parts.jpg deleted file mode 100644 index 73d094adcdc2eb5842651418b2caa49e4a6311ea..0000000000000000000000000000000000000000 Binary files a/doc/images/hardware/portapack_h1_parts.jpg and /dev/null differ diff --git a/doc/mainmenu.png b/doc/mainmenu.png deleted file mode 100644 index 48a55c3107b0a32a8458b1439998b4208d6e8124..0000000000000000000000000000000000000000 Binary files a/doc/mainmenu.png and /dev/null differ diff --git a/doc/pj1.jpg b/doc/pj1.jpg deleted file mode 100644 index f0728edd963bd3c875f0e7447144e9f8869240e9..0000000000000000000000000000000000000000 Binary files a/doc/pj1.jpg and /dev/null differ diff --git a/doc/pj2.jpg b/doc/pj2.jpg deleted file mode 100644 index 67a000b37b2cd45d81921aa59ee43a968a15192f..0000000000000000000000000000000000000000 Binary files a/doc/pj2.jpg and /dev/null differ diff --git a/doc/pocsag_rx.png b/doc/pocsag_rx.png deleted file mode 100644 index 14cfe9b7aa4c3a306ae4891bf6db5babb3d5f245..0000000000000000000000000000000000000000 Binary files a/doc/pocsag_rx.png and /dev/null differ diff --git a/doc/pwmrssi.png b/doc/pwmrssi.png deleted file mode 100644 index ab71e7661d37d75b50a95782efb3ada398cc55d3..0000000000000000000000000000000000000000 Binary files a/doc/pwmrssi.png and /dev/null differ diff --git a/doc/screenshots.png b/doc/screenshots.png deleted file mode 100644 index 4c88084278a7df6acf3aae7ba74890e303d050d8..0000000000000000000000000000000000000000 Binary files a/doc/screenshots.png and /dev/null differ diff --git a/doc/stealth.png b/doc/stealth.png deleted file mode 100644 index f2b69e4beee9cf07f3f30b455ca4a8ec4f811f75..0000000000000000000000000000000000000000 Binary files a/doc/stealth.png and /dev/null differ diff --git a/doc/unistroke.png b/doc/unistroke.png deleted file mode 100644 index 722563db71862bab9795d181a98331bf264a2f32..0000000000000000000000000000000000000000 Binary files a/doc/unistroke.png and /dev/null differ diff --git a/doc/widgets.txt b/doc/widgets.txt deleted file mode 100644 index bfe7b0fca4f0bfa3c0d31e864ded398e76760ef9..0000000000000000000000000000000000000000 --- a/doc/widgets.txt +++ /dev/null @@ -1,171 +0,0 @@ -~ Pretty ugly PortaPack H1 (+HAVOC) UI widget documentation ~ - by @furrtek - v0.1 - 2017/02/02 - Not approved at all by @Sharebrained - -The display is 240 x 320 pixels. - -A View is basically a rectangular zone on the screen. -Widgets (aka controls, UI elements...) go into Views. - -Views can be pushed to/popped from a stack. -The main menu view is at the bottom of the stack and can't be popped. -The title bar view is a special case, it (normally) can't be hidden by pushed Views. -Since the title bar is 16 pixel high, a regular full-screen view is 240 x 304 pixels. - -If the current View can be popped (removed), an arrow shows on the left of the title bar. - -Kind of widgets: - -==== Rectangle ==== - -A simple filled or outlined rectangle. No interactivity. - -Constructors: -- Empty -- Rectangle(Rect, Color) - -Methods: -- set_color(Color) -- set_outline(bool): Default is filled, set to true for outline only - -==== Text ==== - -A simple text label. No interactivity. - -Constructors: -- Empty -- Text(Rect) -- Text(Rect, std::string) - -Methods: -- set(std::string): Updates text - -==== BigFrequency (HAVOC) ==== - -Displays a big 7-segment style frequency value in the XXXX.xxxMHz format. -If the value is 0, ----.--- is displayed. No leading zeros. No interactivity. - -Constructors: -- BigFrequency(Rect, rf::Frequency) - -Methods: -- set(rf::Frequency): Updates value - -==== ProgressBar (HAVOC) ==== - -Displays progress as an horizontal progress bar with value and maximum value. -No interactivity. - -Constructors: -- ProgressBar(Rect) - -Methods: -- set_max(uint32_t): Updates maximum value -- set_value(uint32_t): Updates current value - -The maximum value is set by default to 100. - -==== Console ==== - -Displays a scrolling text console. No interactivity. - -Constructors: -- Console(Rect) - -Methods: -- clear(): Clears text and resets cursor to top-left -- write(std::string): Adds text -- writeln(std::string): Adds text and CR + LF - -==== Checkbox (HAVOC) ==== - -A toggle option shown as a tickable box with a text label. -Interactive: select and touch. - -Constructors: -- Empty -- Checkbox(Point, size_t, std::string) -- Checkbox(Point, size_t, std::string, bool) - -(Position, length of text label, text, regular size/small) - -Methods: -- bool value(): Returns state -- set_text(std::string): Updates text label -- set_value(bool): Sets state - -Callbacks: -- on_select: Select key press or touch. Returns state - -==== Button ==== - -A momentary push-button. Interactive: select and touch. - -Constructors: -- Empty -- Button(Rect, std::string) - -Methods: -- std::string text(): Returns text -- set_text(std::string): Updates text - -Callbacks: -- on_select: Select key press or touch -- on_dir: Direction keys press -- on_highlight: Focus get - -==== Image ==== - -Shows a 1-bit bitmap. No interactivity. - -Constructors: -- Empty -- Image(Rect, Bitmap*, Color, Color) - -(Rect, pointer to bitmap (see bitmap.hpp), foreground, background) - -Methods: -- set_bitmap(Bitmap*): Updates bitmap -- set_foreground(Color): Changes foreground color -- set_background(Color): Changes background color -- invert_colors(): Flip foreground color with background - -==== ImageButton ==== - -Same as the Image widget, except interactive (select and touch). No methods. - -Constructors: -- Empty -- ImageButton(Rect, Bitmap*, Color, Color) - -(Rect, pointer to bitmap (see bitmap.hpp), foreground, background) - -Callbacks: -- on_select: Select key press or touch - -==== ImageOptionsField (HAVOC) ==== - -Options list displayed as images. -Interactive: change (jog wheel) and focus. - -Constructors: -- Empty -- ImageOptionsField(Rect, options_t) - -options_t is a std::vector of std::pair of unsigned char pointers to color bitmap data and an int32_t - -Methods: -- set_options(options_t) -- size_t selected_index() -- size_t selected_index_value() -- set_selected_index(size_t) -- set_by_value(value_t) - -Callbacks: -- on_change: Option was changed -- on_show_options: Focus get - -==== OptionsField ==== -==== NumberField ==== -==== SymField (HAVOC) ==== -==== Waveform (HAVOC) ==== diff --git a/doc/h2_cover.jpg b/docs/images/h2_cover.jpg similarity index 100% rename from doc/h2_cover.jpg rename to docs/images/h2_cover.jpg diff --git a/doc/h2_front.jpg b/docs/images/h2_front.jpg similarity index 100% rename from doc/h2_front.jpg rename to docs/images/h2_front.jpg