|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
37 # include <curl/curl.h>
81 std::vector<ResourceItem>
items;
83 std::vector<ResourceFiles>
files;
87 public Ogre::WorkQueue::RequestHandler,
88 public Ogre::WorkQueue::ResponseHandler
100 void Download(
int resource_id, std::string filename,
int id);
109 virtual Ogre::WorkQueue::Response*
handleRequest(
const Ogre::WorkQueue::Request *req,
const Ogre::WorkQueue *srcQ)
override;
110 virtual void handleResponse(
const Ogre::WorkQueue::Response *req,
const Ogre::WorkQueue *srcQ)
override;
Ogre::TexturePtr m_fallback_thumbnail
std::string m_current_category
virtual Ogre::WorkQueue::Response * handleRequest(const Ogre::WorkQueue::Request *req, const Ogre::WorkQueue *srcQ) override
Ogre::WorkQueue API.
virtual void handleResponse(const Ogre::WorkQueue::Response *req, const Ogre::WorkQueue *srcQ) override
Processes task results on main thread.
void DrawThumbnail(int resource_item_idx)
void UpdateFiles(ResourcesCollection *data)
void OpenResource(int resource_id)
std::vector< ResourceItem > items
std::string m_repolist_msg
Ogre::uint16 m_ogre_workqueue_channel
void SetVisible(bool visible)
ResourceItem m_selected_item
std::string m_repolist_httpmsg
Displayed as dimmed text.
Ogre::TexturePtr preview_tex
void Download(int resource_id, std::string filename, int id)
std::string m_all_category_label
Central state/object manager and communications hub.
void UpdateResources(ResourcesCollection *data)
ImVec4 m_repolist_msg_color
std::vector< ResourceCategories > categories
Str< 500 > m_search_input
int m_current_category_id
std::string m_current_category_label
ResourcesCollection m_data
std::string m_current_sort
std::vector< ResourceFiles > files
const Ogre::uint16 WORKQUEUE_ROR_REPO_THUMBNAIL
std::string m_repolist_curlmsg
Displayed as dimmed text.
std::string m_repofiles_msg
void ShowError(CurlFailInfo *failinfo)