1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

Calculator: Port interface to GML (#4742)

This commit is contained in:
Glenford Williams 2021-01-03 16:27:24 -05:00 committed by GitHub
parent bf45a28a89
commit 7dc52e04fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 306 additions and 90 deletions

View file

@ -1,5 +1,6 @@
/*
* Copyright (c) 2019-2020, Sergey Bugaev <bugaevc@serenityos.org>
* Copyright (c) 2021 Glenford Williams <gw_dev@outlook.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -38,9 +39,8 @@ public:
private:
CalculatorWidget();
void add_operation_button(GUI::Button&, Calculator::Operation, Color text_color = Color::Red);
void add_operation_button(GUI::Button&, Calculator::Operation);
void add_digit_button(GUI::Button&, int digit);
void add_button(GUI::Button&, Color text_color);
void update_display();