mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
35 lines
1.2 KiB
Lua
35 lines
1.2 KiB
Lua
local M = {}
|
|
|
|
---@return druid.example.data[]
|
|
function M.get_examples()
|
|
---@type druid.example.data[]
|
|
return {
|
|
{
|
|
name_id = "ui_example_window_language",
|
|
information_text_id = "ui_example_window_language_description",
|
|
template = "window_language",
|
|
root = "window_language/root",
|
|
code_url = "example/examples/windows/window_language/window_language.lua",
|
|
widget_class = require("example.examples.windows.window_language.window_language"),
|
|
},
|
|
{
|
|
name_id = "ui_example_window_confirmation",
|
|
template = "window_confirmation",
|
|
root = "window_confirmation/root",
|
|
information_text_id = "ui_example_window_language_description",
|
|
code_url = "example/examples/windows/window_confirmation/window_confirmation.lua",
|
|
widget_class = require("example.examples.windows.window_confirmation.window_confirmation"),
|
|
},
|
|
{
|
|
name_id = "ui_example_window_information",
|
|
template = "window_info",
|
|
root = "window_info/root",
|
|
information_text_id = "ui_example_window_information_description",
|
|
code_url = "example/examples/windows/window_info/window_info.lua",
|
|
widget_class = require("example.examples.windows.window_info.window_info"),
|
|
}
|
|
}
|
|
end
|
|
|
|
return M
|