mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Add missing min/max redefinition
This commit is contained in:
committed by
LeaNumworks
parent
b2b0f4fab0
commit
0b71e92625
@@ -17,6 +17,8 @@ constexpr KDColor OperatorColor = KDColor::RGB24(0xd73a49);
|
||||
constexpr KDColor StringColor = KDColor::RGB24(0x032f62);
|
||||
constexpr KDColor BackgroundColor = KDColorWhite;
|
||||
|
||||
static inline int min(int x, int y) { return (x<y ? x : y); }
|
||||
|
||||
static inline KDColor TokenColor(mp_token_kind_t tokenKind) {
|
||||
if (tokenKind == MP_TOKEN_STRING) {
|
||||
return StringColor;
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
|
||||
using namespace Poincare;
|
||||
|
||||
static inline int min(int x, int y) { return (x<y ? x : y); }
|
||||
static inline int max(int x, int y) { return (x>y ? x : y); }
|
||||
|
||||
namespace Shared {
|
||||
|
||||
StoreController::ContentView::ContentView(DoublePairStore * store, Responder * parentResponder, TableViewDataSource * dataSource, SelectableTableViewDataSource * selectionDataSource, TextFieldDelegate * textFieldDelegate) :
|
||||
|
||||
Reference in New Issue
Block a user