mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps] Exam mode controller uses dark yellow buttons
This commit is contained in:
committed by
LeaNumworks
parent
c52ed0bf6d
commit
f0c06a0405
@@ -4,6 +4,12 @@
|
||||
#include <escher.h>
|
||||
#include "exam_pop_up_controller_delegate.h"
|
||||
|
||||
class HighContrastButton : public Button {
|
||||
public:
|
||||
using Button::Button;
|
||||
virtual KDColor highlightedBackgroundColor() const override { return Palette::YellowDark; }
|
||||
};
|
||||
|
||||
class ExamPopUpController : public ViewController {
|
||||
public:
|
||||
ExamPopUpController(ExamPopUpControllerDelegate * delegate);
|
||||
@@ -31,8 +37,8 @@ private:
|
||||
int numberOfSubviews() const override;
|
||||
View * subviewAtIndex(int index) override;
|
||||
void layoutSubviews() override;
|
||||
Button m_cancelButton;
|
||||
Button m_okButton;
|
||||
HighContrastButton m_cancelButton;
|
||||
HighContrastButton m_okButton;
|
||||
MessageTextView m_warningTextView;
|
||||
MessageTextView m_messageTextView1;
|
||||
MessageTextView m_messageTextView2;
|
||||
|
||||
Reference in New Issue
Block a user