mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-10-31 16:27:30 +08:00
dc8c090753
FTXUI supported only the 16 colors palette. This patch adds support for the 256 palette and the TrueColor(8×8×8) mode. This was made by kerdelos@ and fixes issue: https://github.com/ArthurSonzogni/FTXUI/issues/45 Co-authored-by: Damien D <kerdelos@gmail.com> Co-authored-by: Arthur Sonzogni <sonzogniarthur@gmail.com>
30 lines
641 B
CMake
30 lines
641 B
CMake
function(example name)
|
|
add_executable(${name} ${name}.cpp)
|
|
target_link_libraries(${name} PUBLIC dom)
|
|
set_property(TARGET ${name} PROPERTY CXX_STANDARD 17)
|
|
endfunction(example)
|
|
|
|
example(border)
|
|
example(color_gallery)
|
|
example(dbox)
|
|
example(gauge)
|
|
example(graph)
|
|
example(hflow)
|
|
example(html_like)
|
|
example(package_manager)
|
|
example(paragraph)
|
|
example(separator)
|
|
example(size)
|
|
example(spinner)
|
|
example(style_blink)
|
|
example(style_bold)
|
|
example(style_color)
|
|
example(color_truecolor_RGB)
|
|
example(color_truecolor_HSV)
|
|
example(style_dim)
|
|
example(style_gallery)
|
|
example(style_inverted)
|
|
example(style_underlined)
|
|
example(vbox_hbox)
|
|
example(window)
|