From 9d3e754f3660e3bd6d13475a7d26e6d1f1e29fbe Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Fri, 23 Sep 2022 04:12:07 +0200 Subject: Implement checkbox GUI element --- res/CMakeLists.txt | 9 +++++++++ res/LICENSE | 2 ++ res/checkbox.bmp | Bin 0 -> 382 bytes res/checkbox_24.bmp | Bin 0 -> 1230 bytes 4 files changed, 11 insertions(+) create mode 100644 res/checkbox.bmp create mode 100644 res/checkbox_24.bmp (limited to 'res') diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt index d77daaf..88069af 100644 --- a/res/CMakeLists.txt +++ b/res/CMakeLists.txt @@ -208,6 +208,14 @@ sprite(NAME line_edit_right CY 491 TRANSPARENT FALSE) +sprite(NAME checkbox + X 376 + Y 132 + BPP 4 + CX 368 + CY 490 + TRANSPARENT TRUE) + sound(NAME acknowledge_01) sound(NAME acknowledge_02) sound(NAME selected_01) @@ -218,6 +226,7 @@ container(NAME rts btn_left btn_mid btn_right + checkbox worker_n worker_ne worker_e diff --git a/res/LICENSE b/res/LICENSE index e252ace..86a891a 100644 --- a/res/LICENSE +++ b/res/LICENSE @@ -57,6 +57,8 @@ line_edit_mid.bmp: line_edit_mid_24.bmp: line_edit_right.bmp: line_edit_right_24.bmp: +checkbox_24.bmp: +checkbox.bmp: Derived works from ui_sheet.png font.bmp: diff --git a/res/checkbox.bmp b/res/checkbox.bmp new file mode 100644 index 0000000..a5678a5 Binary files /dev/null and b/res/checkbox.bmp differ diff --git a/res/checkbox_24.bmp b/res/checkbox_24.bmp new file mode 100644 index 0000000..3b001a4 Binary files /dev/null and b/res/checkbox_24.bmp differ -- cgit v1.2.3