TachyonUI
0.1.0
High-performance UI for building tools.
Toggle main menu visibility
Loading...
Searching...
No Matches
gui_resources.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
gui_core/gui_result.h
>
4
5
#include <cstddef>
6
#include <span>
7
#include <string>
8
#include <string_view>
9
10
namespace
tachyon
11
{
14
19
std::span<const std::byte>
FindBuiltInResource
(std::string_view path);
20
25
Result<std::string>
ReadResource
(std::string_view path);
26
28
}
tachyon::Result
A value, or the Error saying why there is none.
Definition
gui_result.h:36
tachyon::ReadResource
Result< std::string > ReadResource(std::string_view path)
A resource's contents: the file at path when it exists, else its built-in copy (which is logged,...
tachyon::FindBuiltInResource
std::span< const std::byte > FindBuiltInResource(std::string_view path)
The copy of a resource compiled into the library: the default themes (dark.css, light....
gui_result.h
tachyon
Definition
gui_logging.h:24
gui_core
gui_resources.h
Generated by
1.18.0