Skip to content

UserData

This struct is reflected by RTTR. More...

#include "UserData.h"

Public Functions

Name
voidpushRecentFile(const std::filesystem::path & file)

Public Attributes

Name
std::stringcustomThemeName <br>If empty, LightMode or DarkMode is used based on system settings.
std::vector< std::filesystem::path >recentFiles <br>Last file is the most recent.

Detailed Description

cpp
struct UserData;
struct UserData;

This struct is reflected by RTTR.

See: UserData.cpp file.

Public Functions Documentation

function pushRecentFile

cpp
void pushRecentFile(
    const std::filesystem::path & file
)
void pushRecentFile(
    const std::filesystem::path & file
)

Public Attributes Documentation

variable customThemeName

cpp
std::string customThemeName;
std::string customThemeName;

If empty, LightMode or DarkMode is used based on system settings.

variable recentFiles

cpp
std::vector< std::filesystem::path > recentFiles;
std::vector< std::filesystem::path > recentFiles;

Last file is the most recent.


Updated on 2024-03-16 at 19:15:00 +0000