demonstrates the use of xtd::forms::buttons button object collection.
- Windows
-
- macOS
-
- Gnome
-
#include <xtd/forms/application>
#include <xtd/forms/buttons>
#include <xtd/forms/form>
auto main() -> int {
auto actual_size_button = buttons::actual_size(main_form, {10, 10}, {100, 25});
auto zoom_in_button = buttons::zoom_in(main_form, {120, 10}, {100, 25});
auto zoom_out_button = buttons::zoom_out(main_form, {230, 10}, {100, 25});
auto zoom_to_fit_button = buttons::zoom_to_fit(main_form, {340, 10}, {100, 25});
application::run(main_form);
}
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.h:54