mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-29 14:45:53 +08:00
bd21cac2b6
Allow Container::Vertical and Container::Horizontal to have an external selector, similar to Container::Tab. This is useful for implementing a menu of menu. Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
26 lines
564 B
CMake
26 lines
564 B
CMake
function(example name)
|
|
add_executable(${name} ${name}.cpp)
|
|
target_link_libraries(${name} PUBLIC component)
|
|
set_property(TARGET ${name} PROPERTY CXX_STANDARD 17)
|
|
endfunction(example)
|
|
|
|
example(button)
|
|
example(checkbox)
|
|
example(checkbox_in_frame)
|
|
example(gallery)
|
|
example(homescreen)
|
|
example(input)
|
|
example(menu)
|
|
example(menu2)
|
|
example(menu_multiple)
|
|
example(menu_style)
|
|
example(modal_dialog)
|
|
example(radiobox)
|
|
example(radiobox_in_frame)
|
|
example(slider)
|
|
example(slider_rgb)
|
|
example(tab_horizontal)
|
|
example(tab_vertical)
|
|
example(toggle)
|
|
example(resizable_split)
|