yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::internal Namespace Reference

Classes

struct  PaletteRowLayout
 

Functions

template<size_t N>
void CopyStringToBuffer (const std::string &src, char(&dest)[N])
 
std::optional< std::string > LoadKeychainValue (const std::string &key)
 
std::string ResolveHostApiKey (const UserSettings::Preferences *prefs, const UserSettings::Preferences::AiHost &host)
 
void ApplyHostPresetToProfile (AgentEditor::BotProfile *profile, const UserSettings::Preferences::AiHost &host, const UserSettings::Preferences *prefs)
 
void EnsureSheetTextureQueued (gfx::Bitmap &sheet)
 
bool ApplyRoleDefaultPalette (gfx::Bitmap &sheet, gfx::SheetRole role, gfx::PaletteGroupMap &palette_groups)
 
PaletteRowLayout GetPaletteRowLayout (std::string_view group_name, std::size_t palette_size)
 
int GetPaletteRowCount (std::size_t palette_size, int colors_per_row)
 
void EnsureCompositeBitmapTextureQueued (gfx::Bitmap &composite)
 
void EnsureSpritePreviewBitmapReady (gfx::Bitmap &bmp, int width, int height, int depth, const std::vector< uint8_t > &gfx_buffer)
 

Function Documentation

◆ CopyStringToBuffer()

◆ LoadKeychainValue()

std::optional< std::string > yaze::editor::internal::LoadKeychainValue ( const std::string & key)
inline

Definition at line 29 of file agent_editor_internal.h.

Referenced by ResolveHostApiKey().

◆ ResolveHostApiKey()

◆ ApplyHostPresetToProfile()

◆ EnsureSheetTextureQueued()

◆ ApplyRoleDefaultPalette()

◆ GetPaletteRowLayout()

PaletteRowLayout yaze::editor::internal::GetPaletteRowLayout ( std::string_view group_name,
std::size_t palette_size )
inline

Definition at line 56 of file palette_controls_panel_internal.h.

◆ GetPaletteRowCount()

int yaze::editor::internal::GetPaletteRowCount ( std::size_t palette_size,
int colors_per_row )
inline

Definition at line 97 of file palette_controls_panel_internal.h.

◆ EnsureCompositeBitmapTextureQueued()

◆ EnsureSpritePreviewBitmapReady()