timer implementation
authorKamil Lipiszko <k.lipiszko@samsung.com>
Wed, 24 Aug 2016 09:44:00 +0000 (11:44 +0200)
committerKamil Lipiszko <k.lipiszko@samsung.com>
Thu, 15 Sep 2016 14:41:48 +0000 (16:41 +0200)
commitaee5d9cb7393b4e1f5b027228dbdf693ef1f0609
tree4dbcca1acb3c249f35a71523799c2c20b7960552
parentdb8cb6fce8ae882b208ace0866d2f5baa58e2af5
timer implementation

This commit implements the whole timer view, model and presenter
creation procedure due to MVP pattern. The timer is the view that
shows running counter and provides alarm ring after the set time
timeout. The ring alarm is called after the set time and if
countdown was paused and resumed this time is updated. Timer's
view shows the time selector during the edition process and
counter on timer start.

Change-Id: Iba26715081deb7864704a32686e7c3345b75f7a8
25 files changed:
clock/inc/Model/Counter.h
clock/inc/Model/StopWatch.h
clock/inc/Model/Timer.h
clock/inc/Presenter/TimerPresenter.h [new file with mode: 0644]
clock/inc/View/CounterView.h
clock/inc/View/TimerView.h
clock/res/edje/Counter.edc
clock/res/edje/Timer.edc [new file with mode: 0644]
clock/res/edje/color_classes.edc
clock/res/edje/images/alarm_btn_bg.png [new file with mode: 0644]
clock/res/edje/images/alarm_btn_circle_drag.png [new file with mode: 0644]
clock/res/edje/images/alarm_btn_circle_line.png [new file with mode: 0644]
clock/res/edje/images/alarm_btn_ic_dismiss.png [new file with mode: 0644]
clock/res/edje/images/alarm_btn_ic_snooze.png [new file with mode: 0644]
clock/res/edje/images/alarm_picker_arrow_down.png [new file with mode: 0644]
clock/res/edje/images/alarm_picker_arrow_up.png [new file with mode: 0644]
clock/res/edje/images/arrow_bg_horizontal.png [new file with mode: 0644]
clock/res/edje/ring.edc [new file with mode: 0644]
clock/src/Model/Counter.cpp [deleted file]
clock/src/Model/Timer.cpp [new file with mode: 0644]
clock/src/Presenter/TimerPresenter.cpp [new file with mode: 0644]
clock/src/View/CounterView.cpp
clock/src/View/MainView.cpp
clock/src/View/TimerView.cpp
clock/tizen-manifest.xml