├── debian ├── compat ├── docs ├── source │ ├── format │ └── options ├── manpages ├── .gitignore ├── install ├── desktop │ └── pocket-home.desktop ├── rules ├── control ├── changelog ├── copyright └── pocket-home.1 ├── .gitignore ├── assets ├── lock.png ├── trash.png ├── wait0.png ├── wait1.png ├── wait2.png ├── wait3.png ├── wait4.png ├── wait5.png ├── wait6.png ├── wait7.png ├── wifiOff.png ├── backIcon.png ├── battery_0.png ├── battery_1.png ├── battery_2.png ├── battery_3.png ├── nextIcon.png ├── powerIcon.png ├── spinner0.png ├── spinner1.png ├── spinner2.png ├── spinner3.png ├── spinner4.png ├── spinner5.png ├── spinner6.png ├── spinner7.png ├── trash_red.png ├── wifiIcon.png ├── installApp.png ├── llselection.png ├── pageDownIcon.png ├── pageUpIcon.png ├── settingsIcon.png ├── uninstallApp.png ├── volumeIconHi.png ├── volumeIconLo.png ├── appIcons │ ├── alex4.png │ ├── help.png │ ├── pico8.png │ ├── default.png │ ├── install.png │ ├── terminal.png │ ├── update.png │ ├── window.png │ ├── youtube.png │ ├── calculator.png │ ├── texteditor.png │ ├── virtualboy.png │ ├── webbrowser.png │ ├── filebrowser.png │ ├── imageviewer.png │ ├── mediaplayer.png │ ├── pico8terminal.png │ └── musicsequencer.png ├── bluetoothIcon.png ├── mainBackground.png ├── wifiStrength0.png ├── wifiStrength1.png ├── wifiStrength2.png ├── wifiStrength3.png ├── batteryCharging_0.png ├── batteryCharging_1.png ├── batteryCharging_2.png ├── batteryCharging_3.png ├── brightnessIconHi.png ├── brightnessIconLo.png ├── login │ ├── background.png │ └── ntcbanner.png ├── fonts │ └── Lato-Regular.ttf ├── powerMenuBackground.png ├── settingsBackground.png ├── bluetooth.json ├── wifi.json └── config.json ├── .gitmodules ├── Builds ├── MacOSX │ ├── RecentFilesMenuTemplate.nib │ ├── .gitignore │ ├── Info.plist │ └── Info-App.plist └── LinuxMakefile │ └── UnitTests.mk ├── Source ├── WifiStatus.cpp ├── BatteryMonitor.h ├── LibraryPageComponent.h ├── ClockMonitor.hpp ├── SwitchComponent.h ├── IconSliderComponent.h ├── OverlaySpinner.h ├── WifiStatusJson.h ├── DateTimePage.h ├── LauncherBarComponent.h ├── InputSettingsPage.h ├── ClockMonitor.cpp ├── Utils.h ├── PageStackComponent.h ├── WifiStatus.h ├── AdvancedSettingsPage.h ├── PersonalizePageComponent.h ├── LibraryPageComponent.cpp ├── Grid.h ├── MainComponent.h ├── SettingsPageBluetoothComponent.h ├── BatteryMonitor.cpp ├── WifiStatusNM.h ├── PowerPageComponent.h ├── SettingsPageLogin.h ├── Main.h ├── OverlaySpinner.cpp ├── IconSliderComponent.cpp ├── SwitchComponent.cpp ├── PokeLookAndFeel.h ├── PowerPageFelComponent.h ├── LauncherComponent.h ├── LauncherBarComponent.cpp ├── DateTimePage.cpp ├── InputSettingsPage.cpp ├── SettingsPageWifiComponent.h ├── PageStackComponent.cpp ├── WifiStatusJson.cpp ├── SettingsPageComponent.h ├── MainComponent.cpp ├── AppsPageComponent.h ├── AdvancedSettingsPage.cpp ├── SettingsPageBluetoothComponent.cpp ├── Utils.cpp ├── PowerPageFelComponent.cpp ├── PokeLookAndFeel.cpp ├── PowerPageComponent.cpp ├── WifiTest.cpp ├── Main.cpp └── SettingsPageLogin.cpp ├── JuceLibraryCode ├── juce_core.cpp ├── juce_core.mm ├── juce_events.cpp ├── juce_events.mm ├── juce_graphics.mm ├── juce_graphics.cpp ├── juce_gui_basics.mm ├── juce_gui_basics.cpp ├── juce_data_structures.mm ├── juce_data_structures.cpp ├── ReadMe.txt ├── BinaryData.h ├── JuceHeader.h └── AppConfig.h ├── pack-debian └── DEBIAN │ ├── postinst │ └── control ├── .clang-format ├── install-pockethome ├── Makefile ├── README.md └── pocket-home.jucer /debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /debian/docs: -------------------------------------------------------------------------------- 1 | README.md 2 | -------------------------------------------------------------------------------- /debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (native) 2 | -------------------------------------------------------------------------------- /debian/manpages: -------------------------------------------------------------------------------- 1 | debian/pocket-home.1 2 | -------------------------------------------------------------------------------- /debian/source/options: -------------------------------------------------------------------------------- 1 | diff-ignore 2 | tar-ignore 3 | tar-ignore = "Builds/MacOSX" 4 | -------------------------------------------------------------------------------- /debian/.gitignore: -------------------------------------------------------------------------------- 1 | files 2 | pocket-home.debhelper.log 3 | pocket-home.substvars 4 | pocket-home/* -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | pack-debian/usr/ 3 | debian/.debhelper/* 4 | debian/debhelper-build-stamp 5 | -------------------------------------------------------------------------------- /assets/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/lock.png -------------------------------------------------------------------------------- /assets/trash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/trash.png -------------------------------------------------------------------------------- /assets/wait0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wait0.png -------------------------------------------------------------------------------- /assets/wait1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wait1.png -------------------------------------------------------------------------------- /assets/wait2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wait2.png -------------------------------------------------------------------------------- /assets/wait3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wait3.png -------------------------------------------------------------------------------- /assets/wait4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wait4.png -------------------------------------------------------------------------------- /assets/wait5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wait5.png -------------------------------------------------------------------------------- /assets/wait6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wait6.png -------------------------------------------------------------------------------- /assets/wait7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wait7.png -------------------------------------------------------------------------------- /assets/wifiOff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wifiOff.png -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "deps/JUCE"] 2 | path = deps/JUCE 3 | url = https://github.com/julianstorer/JUCE.git 4 | -------------------------------------------------------------------------------- /assets/backIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/backIcon.png -------------------------------------------------------------------------------- /assets/battery_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/battery_0.png -------------------------------------------------------------------------------- /assets/battery_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/battery_1.png -------------------------------------------------------------------------------- /assets/battery_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/battery_2.png -------------------------------------------------------------------------------- /assets/battery_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/battery_3.png -------------------------------------------------------------------------------- /assets/nextIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/nextIcon.png -------------------------------------------------------------------------------- /assets/powerIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/powerIcon.png -------------------------------------------------------------------------------- /assets/spinner0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/spinner0.png -------------------------------------------------------------------------------- /assets/spinner1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/spinner1.png -------------------------------------------------------------------------------- /assets/spinner2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/spinner2.png -------------------------------------------------------------------------------- /assets/spinner3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/spinner3.png -------------------------------------------------------------------------------- /assets/spinner4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/spinner4.png -------------------------------------------------------------------------------- /assets/spinner5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/spinner5.png -------------------------------------------------------------------------------- /assets/spinner6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/spinner6.png -------------------------------------------------------------------------------- /assets/spinner7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/spinner7.png -------------------------------------------------------------------------------- /assets/trash_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/trash_red.png -------------------------------------------------------------------------------- /assets/wifiIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wifiIcon.png -------------------------------------------------------------------------------- /assets/installApp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/installApp.png -------------------------------------------------------------------------------- /assets/llselection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/llselection.png -------------------------------------------------------------------------------- /assets/pageDownIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/pageDownIcon.png -------------------------------------------------------------------------------- /assets/pageUpIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/pageUpIcon.png -------------------------------------------------------------------------------- /assets/settingsIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/settingsIcon.png -------------------------------------------------------------------------------- /assets/uninstallApp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/uninstallApp.png -------------------------------------------------------------------------------- /assets/volumeIconHi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/volumeIconHi.png -------------------------------------------------------------------------------- /assets/volumeIconLo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/volumeIconLo.png -------------------------------------------------------------------------------- /assets/appIcons/alex4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/alex4.png -------------------------------------------------------------------------------- /assets/appIcons/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/help.png -------------------------------------------------------------------------------- /assets/appIcons/pico8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/pico8.png -------------------------------------------------------------------------------- /assets/bluetoothIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/bluetoothIcon.png -------------------------------------------------------------------------------- /assets/mainBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/mainBackground.png -------------------------------------------------------------------------------- /assets/wifiStrength0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wifiStrength0.png -------------------------------------------------------------------------------- /assets/wifiStrength1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wifiStrength1.png -------------------------------------------------------------------------------- /assets/wifiStrength2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wifiStrength2.png -------------------------------------------------------------------------------- /assets/wifiStrength3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/wifiStrength3.png -------------------------------------------------------------------------------- /assets/appIcons/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/default.png -------------------------------------------------------------------------------- /assets/appIcons/install.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/install.png -------------------------------------------------------------------------------- /assets/appIcons/terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/terminal.png -------------------------------------------------------------------------------- /assets/appIcons/update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/update.png -------------------------------------------------------------------------------- /assets/appIcons/window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/window.png -------------------------------------------------------------------------------- /assets/appIcons/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/youtube.png -------------------------------------------------------------------------------- /assets/batteryCharging_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/batteryCharging_0.png -------------------------------------------------------------------------------- /assets/batteryCharging_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/batteryCharging_1.png -------------------------------------------------------------------------------- /assets/batteryCharging_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/batteryCharging_2.png -------------------------------------------------------------------------------- /assets/batteryCharging_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/batteryCharging_3.png -------------------------------------------------------------------------------- /assets/brightnessIconHi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/brightnessIconHi.png -------------------------------------------------------------------------------- /assets/brightnessIconLo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/brightnessIconLo.png -------------------------------------------------------------------------------- /assets/login/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/login/background.png -------------------------------------------------------------------------------- /assets/login/ntcbanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/login/ntcbanner.png -------------------------------------------------------------------------------- /assets/appIcons/calculator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/calculator.png -------------------------------------------------------------------------------- /assets/appIcons/texteditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/texteditor.png -------------------------------------------------------------------------------- /assets/appIcons/virtualboy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/virtualboy.png -------------------------------------------------------------------------------- /assets/appIcons/webbrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/webbrowser.png -------------------------------------------------------------------------------- /assets/fonts/Lato-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/fonts/Lato-Regular.ttf -------------------------------------------------------------------------------- /assets/powerMenuBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/powerMenuBackground.png -------------------------------------------------------------------------------- /assets/settingsBackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/settingsBackground.png -------------------------------------------------------------------------------- /assets/appIcons/filebrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/filebrowser.png -------------------------------------------------------------------------------- /assets/appIcons/imageviewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/imageviewer.png -------------------------------------------------------------------------------- /assets/appIcons/mediaplayer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/mediaplayer.png -------------------------------------------------------------------------------- /assets/appIcons/pico8terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/pico8terminal.png -------------------------------------------------------------------------------- /debian/install: -------------------------------------------------------------------------------- 1 | build/Release/pocket-home /usr/bin 2 | debian/desktop/* /usr/share/applications 3 | assets/* /usr/share/pocket-home 4 | -------------------------------------------------------------------------------- /assets/appIcons/musicsequencer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/assets/appIcons/musicsequencer.png -------------------------------------------------------------------------------- /Builds/MacOSX/RecentFilesMenuTemplate.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/o-marshmallow/PocketCHIP-pocket-home/HEAD/Builds/MacOSX/RecentFilesMenuTemplate.nib -------------------------------------------------------------------------------- /debian/desktop/pocket-home.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Encoding=UTF-8 3 | Name=pocket-home 4 | Comment=PocketCHIP home screen 5 | Exec=pocket-home 6 | Icon= 7 | Type=Application 8 | -------------------------------------------------------------------------------- /Source/WifiStatus.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "WifiStatus.h" 4 | #include "../JuceLibraryCode/JuceHeader.h" 5 | 6 | WifiStatus::WifiStatus() {} 7 | WifiStatus::~WifiStatus() {} 8 | 9 | WifiStatus::Listener::Listener() {} 10 | WifiStatus::Listener::~Listener() {} 11 | -------------------------------------------------------------------------------- /JuceLibraryCode/juce_core.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /JuceLibraryCode/juce_core.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /JuceLibraryCode/juce_events.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /JuceLibraryCode/juce_events.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /JuceLibraryCode/juce_graphics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /Builds/MacOSX/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | *.pbxuser 3 | !default.pbxuser 4 | *.mode1v3 5 | !default.mode1v3 6 | *.mode2v3 7 | !default.mode2v3 8 | *.perspectivev3 9 | !default.perspectivev3 10 | xcuserdata 11 | *.xccheckout 12 | *.moved-aside 13 | DerivedData 14 | *.xcuserstate 15 | *.xcworkspace 16 | -------------------------------------------------------------------------------- /JuceLibraryCode/juce_graphics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /JuceLibraryCode/juce_gui_basics.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /pack-debian/DEBIAN/postinst: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "Removing the default invisible cursor" 4 | sed -i.bak s/'awful.util.spawn_with_shell("xsetroot -cursor'/'-- awful.util.spawn_with_shell("xsetroot -cursor'/g /home/chip/.config/awesome/rc.lua 5 | echo "Please REBOOT to make the changes effective" 6 | -------------------------------------------------------------------------------- /JuceLibraryCode/juce_gui_basics.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | DPKG_EXPORT_BUILDFLAGS = 1 4 | include /usr/share/dpkg/default.mk 5 | 6 | %: 7 | dh $@ --parallel 8 | 9 | # Everything install by install file 10 | override_dh_auto_install: 11 | true 12 | 13 | override_dh_install: 14 | dh_install --exclude=Lato-Regular.ttf 15 | -------------------------------------------------------------------------------- /JuceLibraryCode/juce_data_structures.mm: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /JuceLibraryCode/juce_data_structures.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | IMPORTANT! This file is auto-generated each time you save your 4 | project - if you alter its contents, your changes may be overwritten! 5 | 6 | */ 7 | 8 | #include "AppConfig.h" 9 | #include 10 | -------------------------------------------------------------------------------- /pack-debian/DEBIAN/control: -------------------------------------------------------------------------------- 1 | Source: pocket-home 2 | Version: 0.0.8.9 3 | Section: x11 4 | Priority: optional 5 | Maintainer: Andrew Hay Kurtz 6 | Homepage: http://opensource.nextthing.co 7 | Package: pocket-home 8 | Architecture: armhf 9 | Depends: xinput-calibrator 10 | Description: Home screen for PocketCHIP. 11 | Home screen allowing to launch different kind of applications. 12 | -------------------------------------------------------------------------------- /Source/BatteryMonitor.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../JuceLibraryCode/JuceHeader.h" 4 | 5 | #include "Utils.h" 6 | #include 7 | 8 | struct BatteryStatus { 9 | int percentage; 10 | int isCharging; 11 | }; 12 | class BatteryMonitor: public juce::Thread { 13 | private: 14 | BatteryStatus status; 15 | 16 | Array percentages; 17 | int addAndCalculateAverage(int); 18 | 19 | public: 20 | BatteryMonitor(); 21 | ~BatteryMonitor(); 22 | 23 | const BatteryStatus& getCurrentStatus(); 24 | void updateStatus(); 25 | 26 | virtual void run(); 27 | }; -------------------------------------------------------------------------------- /Source/LibraryPageComponent.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../JuceLibraryCode/JuceHeader.h" 4 | 5 | #include "AppsPageComponent.h" 6 | 7 | class LibraryPageComponent : public AppListComponent { 8 | public: 9 | LibraryPageComponent(); 10 | ~LibraryPageComponent(); 11 | 12 | ScopedPointer backButton; 13 | 14 | void paint(Graphics &g) override; 15 | void resized() override; 16 | 17 | void buttonClicked(Button *button) override; 18 | private: 19 | Colour bgColor; 20 | 21 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(LibraryPageComponent) 22 | }; -------------------------------------------------------------------------------- /debian/control: -------------------------------------------------------------------------------- 1 | Source: pocket-home 2 | Section: x11 3 | Priority: optional 4 | Maintainer: Andrew Hay Kurtz 5 | Build-Depends: debhelper (>= 9), libx11-dev, libfreetype6, libfreetype6-dev, 6 | libnm-glib-dev, network-manager-dev, pkg-config, libxrandr-dev, libxinerama-dev, 7 | libxcursor-dev, libi2c-dev 8 | Standards-Version: 3.9.8 9 | Homepage: http://opensource.nextthing.co 10 | 11 | Package: pocket-home 12 | Architecture: any 13 | Depends: ${shlibs:Depends}, ${misc:Depends}, libnm-glib4, network-manager 14 | Description: home screen for PocketCHIP 15 | It can launch programs and change system settings 16 | -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | BasedOnStyle: Mozilla 3 | ColumnLimit: 100 4 | IndentWidth: 2 5 | ContinuationIndentWidth: 4 6 | Standard: Cpp11 7 | AllowShortFunctionsOnASingleLine: Empty 8 | AllowShortIfStatementsOnASingleLine: true 9 | AllowShortLoopsOnASingleLine: true 10 | ConstructorInitializerIndentWidth: 0 11 | ConstructorInitializerAllOnOneLineOrOnePerLine: true 12 | PointerAlignment: Right 13 | AlwaysBreakTemplateDeclarations: true 14 | BreakConstructorInitializersBeforeComma: false 15 | MaxEmptyLinesToKeep: 2 16 | BreakBeforeBraces: Attach 17 | AlwaysBreakAfterDefinitionReturnType: None 18 | KeepEmptyLinesAtTheStartOfBlocks: false 19 | ... 20 | -------------------------------------------------------------------------------- /JuceLibraryCode/ReadMe.txt: -------------------------------------------------------------------------------- 1 | 2 | Important Note!! 3 | ================ 4 | 5 | The purpose of this folder is to contain files that are auto-generated by the Projucer, 6 | and ALL files in this folder will be mercilessly DELETED and completely re-written whenever 7 | the Projucer saves your project. 8 | 9 | Therefore, it's a bad idea to make any manual changes to the files in here, or to 10 | put any of your own files in here if you don't want to lose them. (Of course you may choose 11 | to add the folder's contents to your version-control system so that you can re-merge your own 12 | modifications after the Projucer has saved its changes). 13 | -------------------------------------------------------------------------------- /install-pockethome: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo 'Downloading new package link' 4 | wget -O /tmp/package.txt 'https://drive.google.com/uc?export=download&id=0B1jRc4IqT9kiSVVIOE8wd2w4Zkk' 5 | echo 'Checking if new version is available' 6 | cat /tmp/package.txt | head -1 > /tmp/version 7 | cat /tmp/package.txt | tail -1 > /tmp/link 8 | (diff /tmp/version ~/.pocket-home/.version && echo 'Already up-to-date.') || \ 9 | (echo 'Updating...' && \ 10 | mkdir -p ~/.pocket-home/ && \ 11 | cp /tmp/version ~/.pocket-home/.version &&\ 12 | rm -f /tmp/package.deb && \ 13 | wget -O /tmp/package.deb -i /tmp/link && \ 14 | sudo dpkg -i /tmp/package.deb && \ 15 | echo 'Installation finished.') 16 | -------------------------------------------------------------------------------- /Source/ClockMonitor.hpp: -------------------------------------------------------------------------------- 1 | #include "../JuceLibraryCode/JuceHeader.h" 2 | 3 | #ifndef CLOCKMONITOR_H 4 | #define CLOCKMONITOR_H 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | using namespace juce; 13 | 14 | class ClockMonitor : public Thread{ 15 | public: 16 | ClockMonitor(); 17 | ~ClockMonitor(); 18 | 19 | void run() override; 20 | void setAmMode(bool); 21 | Label& getLabel(); 22 | 23 | private: 24 | JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(ClockMonitor) 25 | char formatted[10]; 26 | bool ampm; 27 | CriticalSection lock; 28 | ScopedPointer