Reformatted all the files according to clang-format style
This commit is contained in:
@@ -6,30 +6,28 @@
|
||||
#include "systemtask/SystemTask.h"
|
||||
#include "components/brightness/BrightnessController.h"
|
||||
|
||||
|
||||
namespace Pinetime {
|
||||
|
||||
|
||||
namespace Applications {
|
||||
namespace Screens {
|
||||
|
||||
class FlashLight : public Screen{
|
||||
public:
|
||||
FlashLight(DisplayApp* app, System::SystemTask &systemTask, Controllers::BrightnessController& brightness);
|
||||
~FlashLight() override;
|
||||
class FlashLight : public Screen {
|
||||
public:
|
||||
FlashLight(DisplayApp* app, System::SystemTask& systemTask, Controllers::BrightnessController& brightness);
|
||||
~FlashLight() override;
|
||||
|
||||
bool Refresh() override;
|
||||
|
||||
bool OnTouchEvent(Pinetime::Applications::TouchEvents event) override;
|
||||
void OnClickEvent(lv_obj_t *obj, lv_event_t event);
|
||||
bool Refresh() override;
|
||||
|
||||
private:
|
||||
Pinetime::System::SystemTask& systemTask;
|
||||
Controllers::BrightnessController& brightness;
|
||||
bool OnTouchEvent(Pinetime::Applications::TouchEvents event) override;
|
||||
void OnClickEvent(lv_obj_t* obj, lv_event_t event);
|
||||
|
||||
lv_obj_t* flashLight;
|
||||
lv_obj_t* backgroundAction;
|
||||
bool isOn = true;
|
||||
private:
|
||||
Pinetime::System::SystemTask& systemTask;
|
||||
Controllers::BrightnessController& brightness;
|
||||
|
||||
lv_obj_t* flashLight;
|
||||
lv_obj_t* backgroundAction;
|
||||
bool isOn = true;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user