#include <GUI_RepositorySelector.h>
|
| | RepositorySelector () |
| |
| | ~RepositorySelector () |
| |
| void | SetVisible (bool visible) |
| |
| bool | IsVisible () const |
| |
| void | Draw () |
| |
| void | DrawGalleryView () |
| |
| void | DrawResourceView (float searchbox_x) |
| |
| void | DrawResourceViewRightColumn () |
| |
| void | OpenResource (int resource_id) |
| |
| void | RequestInstallRepoFile (int resource_id, int datafile_pos, std::string filepath) |
| |
| void | QueueInstallRepoFile (RepoFileInstallRequest *request) |
| |
| void | InstallDownloadedRepoFile (MsgType result, RepoFileInstallRequest *request) |
| |
| void | NotifyRepoFileUninstalled (std::string const &filename) |
| |
| void | Refresh () |
| |
| void | UpdateResources (ResourcesCollection *data) |
| |
| void | UpdateResourceFilesAndDescription (ResourcesCollection *data) |
| |
| void | ShowError (CurlFailInfo *failinfo) |
| |
| void | DrawThumbnail (ResourceItemArrayPos_t resource_arraypos, ImVec2 image_size, float spinner_size, ImVec2 spinner_cursor) |
| |
| void | LoadDownloadedImage (RepoImageDownloadRequest *request) |
| | To be run on main thread.
|
| |
| void | DrawResourceDescriptionBBCode (const ResourceItem &item, ImVec2 panel_screenpos, ImVec2 panel_size) |
| |
| void | DrawAttachment (BBCodeDrawingContext *context, int attachment_id) |
| |
| void | DownloadAttachment (int attachment_id, std::string const &attachment_ext) |
| |
| void | DownloadBBCodeAttachmentsRecursive (const bbcpp::BBNode &parent) |
| |
| RepoFileInstallRequestID_t | GetNextInstallRequestId () |
| |
Definition at line 144 of file GUI_RepositorySelector.h.
◆ RepositorySelector()
| RepositorySelector::RepositorySelector |
( |
| ) |
|
◆ ~RepositorySelector()
| RepositorySelector::~RepositorySelector |
( |
| ) |
|
◆ CheckRepoFileIsInstalled()
| bool RepositorySelector::CheckRepoFileIsInstalled |
( |
ResourceFiles & |
resfile, |
|
|
std::string & |
out_filepath |
|
) |
| |
|
private |
◆ DownloadAttachment()
| void RepositorySelector::DownloadAttachment |
( |
int |
attachment_id, |
|
|
std::string const & |
attachment_ext |
|
) |
| |
◆ DownloadBBCodeAttachmentsRecursive()
| void RepositorySelector::DownloadBBCodeAttachmentsRecursive |
( |
const bbcpp::BBNode & |
parent | ) |
|
◆ DownloadImage()
◆ Draw()
| void RepositorySelector::Draw |
( |
| ) |
|
◆ DrawAttachment()
◆ DrawFooterDownloadsInfo()
| void RepositorySelector::DrawFooterDownloadsInfo |
( |
| ) |
|
|
private |
◆ DrawGalleryView()
| void RepositorySelector::DrawGalleryView |
( |
| ) |
|
◆ DrawResourceDescriptionBBCode()
| void RepositorySelector::DrawResourceDescriptionBBCode |
( |
const ResourceItem & |
item, |
|
|
ImVec2 |
panel_screenpos, |
|
|
ImVec2 |
panel_size |
|
) |
| |
◆ DrawResourceView()
| void RepositorySelector::DrawResourceView |
( |
float |
searchbox_x | ) |
|
◆ DrawResourceViewRightColumn()
| void RepositorySelector::DrawResourceViewRightColumn |
( |
| ) |
|
◆ DrawThumbnail()
| void RepositorySelector::DrawThumbnail |
( |
ResourceItemArrayPos_t |
resource_arraypos, |
|
|
ImVec2 |
image_size, |
|
|
float |
spinner_size, |
|
|
ImVec2 |
spinner_cursor |
|
) |
| |
◆ GetNextInstallRequestId()
◆ InstallDownloadedRepoFile()
◆ IsVisible()
| bool RoR::GUI::RepositorySelector::IsVisible |
( |
| ) |
const |
|
inline |
◆ LoadDownloadedImage()
◆ NotifyRepoFileUninstalled()
| void RepositorySelector::NotifyRepoFileUninstalled |
( |
std::string const & |
filename | ) |
|
◆ OpenResource()
| void RepositorySelector::OpenResource |
( |
int |
resource_id | ) |
|
◆ QueueInstallRepoFile()
◆ Refresh()
| void RepositorySelector::Refresh |
( |
| ) |
|
◆ RequestInstallRepoFile()
| void RepositorySelector::RequestInstallRepoFile |
( |
int |
resource_id, |
|
|
int |
datafile_pos, |
|
|
std::string |
filepath |
|
) |
| |
◆ SetVisible()
| void RepositorySelector::SetVisible |
( |
bool |
visible | ) |
|
◆ ShowError()
| void RepositorySelector::ShowError |
( |
CurlFailInfo * |
failinfo | ) |
|
◆ TryProcessNextQueuedInstallRequest()
| void RepositorySelector::TryProcessNextQueuedInstallRequest |
( |
| ) |
|
|
private |
◆ UpdateResourceFilesAndDescription()
◆ UpdateResources()
◆ ATTACH_MAX_HEIGHT
| const float RoR::GUI::RepositorySelector::ATTACH_MAX_HEIGHT = 90.f |
◆ ATTACH_MAX_WIDTH
| const float RoR::GUI::RepositorySelector::ATTACH_MAX_WIDTH = 160.f |
◆ ATTACH_SPINNER_PADDING
| const ImVec2 RoR::GUI::RepositorySelector::ATTACH_SPINNER_PADDING = ImVec2(55.f, 25.f) |
◆ ATTACH_SPINNER_RADIUS
| const float RoR::GUI::RepositorySelector::ATTACH_SPINNER_RADIUS = 20.f |
◆ m_active_install_request_id
◆ m_all_category_label
| std::string RoR::GUI::RepositorySelector::m_all_category_label |
|
private |
◆ m_current_category
| std::string RoR::GUI::RepositorySelector::m_current_category |
|
private |
◆ m_current_category_id
| int RoR::GUI::RepositorySelector::m_current_category_id = 1 |
|
private |
◆ m_current_category_label
| std::string RoR::GUI::RepositorySelector::m_current_category_label |
|
private |
◆ m_current_sort
| std::string RoR::GUI::RepositorySelector::m_current_sort = "Last Update" |
|
private |
◆ m_data
◆ m_draw
| bool RoR::GUI::RepositorySelector::m_draw = false |
|
private |
◆ m_fallback_thumbnail
| Ogre::TexturePtr RoR::GUI::RepositorySelector::m_fallback_thumbnail |
|
private |
◆ m_gallery_mode_attachment_id
| int RoR::GUI::RepositorySelector::m_gallery_mode_attachment_id = -1 |
|
private |
◆ m_is_visible
| bool RoR::GUI::RepositorySelector::m_is_visible = false |
|
private |
◆ m_next_install_request_id
◆ m_ogre_workqueue_channel
| Ogre::uint16 RoR::GUI::RepositorySelector::m_ogre_workqueue_channel = 0 |
|
private |
◆ m_queued_install_requests
◆ m_repo_attachments
◆ m_repo_image_request_handler
◆ m_repofiles_msg
| std::string RoR::GUI::RepositorySelector::m_repofiles_msg |
|
private |
◆ m_repolist_curlmsg
| std::string RoR::GUI::RepositorySelector::m_repolist_curlmsg |
|
private |
◆ m_repolist_httpmsg
| std::string RoR::GUI::RepositorySelector::m_repolist_httpmsg |
|
private |
◆ m_repolist_msg
| std::string RoR::GUI::RepositorySelector::m_repolist_msg |
|
private |
◆ m_repolist_msg_color
| ImVec4 RoR::GUI::RepositorySelector::m_repolist_msg_color |
|
private |
◆ m_resourceview_item_arraypos
◆ m_search_input
| Str<500> RoR::GUI::RepositorySelector::m_search_input |
|
private |
◆ m_show_spinner
| bool RoR::GUI::RepositorySelector::m_show_spinner = false |
|
private |
◆ m_view_mode
| std::string RoR::GUI::RepositorySelector::m_view_mode = "List" |
|
private |
◆ RESOURCE_INSTALL_BTN_COLOR
| const ImVec4 RoR::GUI::RepositorySelector::RESOURCE_INSTALL_BTN_COLOR = ImVec4(0.830, 0.655, 0.174, 1.f) |
◆ RESOURCE_TITLE_COLOR
| const ImVec4 RoR::GUI::RepositorySelector::RESOURCE_TITLE_COLOR = ImVec4(1.f, 1.f, 0.7f, 1.f) |
The documentation for this class was generated from the following files: