fdf7c82bd7
Anade 5 entradas a la gallery (treemap, sankey, chord, contour, voronoi) con datos sinteticos coherentes: - treemap: 6 items 'gastos por categoria' - sankey: 8 nodos clientes -> productos -> categorias (DAG) - chord: matriz 6x6 simetrica de flujos entre paises - contour: mezcla de 2 gaussianas 32x32 + 5 niveles - voronoi: 30 seeds aleatorias + colores aleatorios Wire-up additions only (demos.h, main.cpp k_demos[], CMakeLists.txt).
48 lines
1.2 KiB
C++
48 lines
1.2 KiB
C++
#pragma once
|
|
// Cada demo_xxx() renderiza una seccion completa para un primitivo.
|
|
// Se llaman desde main.cpp en funcion del item seleccionado en el sidebar.
|
|
|
|
namespace gallery {
|
|
|
|
// --- Core ---
|
|
void demo_button();
|
|
void demo_icon_button();
|
|
void demo_toolbar();
|
|
void demo_modal();
|
|
void demo_text_input();
|
|
void demo_select();
|
|
void demo_toast();
|
|
void demo_tree_view();
|
|
void demo_kpi_card();
|
|
void demo_badge();
|
|
void demo_empty_state();
|
|
void demo_page_header();
|
|
void demo_dashboard_panel();
|
|
void demo_text_editor(); // wave 1, issue 0025
|
|
void demo_file_watcher(); // wave 1, issue 0025
|
|
void demo_process_runner();
|
|
|
|
// --- Viz ---
|
|
void demo_bar_chart();
|
|
void demo_pie_chart();
|
|
void demo_line_plot();
|
|
void demo_scatter_plot();
|
|
void demo_histogram();
|
|
void demo_sparkline();
|
|
void demo_graph();
|
|
void demo_candlestick();
|
|
void demo_gauge();
|
|
void demo_heatmap();
|
|
void demo_table_view();
|
|
void demo_treemap(); // issue 0034
|
|
void demo_sankey(); // issue 0034
|
|
void demo_chord(); // issue 0034
|
|
void demo_contour(); // issue 0034
|
|
void demo_voronoi(); // issue 0034
|
|
|
|
// --- Gfx ---
|
|
void demo_shader_canvas();
|
|
void demo_gl_texture(); // wave 1, issue 0026
|
|
|
|
} // namespace gallery
|