+2
-2
@@ -39,13 +39,13 @@ namespace AzToolsFramework
|
||||
//! Remove current thumbnail
|
||||
void ClearThumbnail();
|
||||
|
||||
//! Display a clickble dropdown arrow next to the thumbnail
|
||||
//! Display a clickable dropdown arrow next to the thumbnail
|
||||
void ShowDropDownArrow(bool visible);
|
||||
|
||||
//! Override the thumbnail widget with a custom image
|
||||
void SetCustomThumbnailEnabled(bool enabled);
|
||||
|
||||
//! Assign a custom image to dispsy in place of thumbnail
|
||||
//! Assign a custom image to display in place of thumbnail
|
||||
void SetCustomThumbnailPixmap(const QPixmap& pixmap);
|
||||
|
||||
Q_SIGNALS:
|
||||
|
||||
+11
-1
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace AtomToolsFramework
|
||||
{
|
||||
//! Provides custom rendering of previefw images
|
||||
//! Interface for describing scene content that will be rendered using the PreviewRenderer
|
||||
class PreviewContent
|
||||
{
|
||||
public:
|
||||
@@ -20,10 +20,20 @@ namespace AtomToolsFramework
|
||||
|
||||
PreviewContent() = default;
|
||||
virtual ~PreviewContent() = default;
|
||||
|
||||
//! Initiate loading of scene content, models, materials, etc
|
||||
virtual void Load() = 0;
|
||||
|
||||
//! Return true if content is loaded and ready to render
|
||||
virtual bool IsReady() const = 0;
|
||||
|
||||
//! Return true if content failed to load
|
||||
virtual bool IsError() const = 0;
|
||||
|
||||
//! Report any issues encountered while loading
|
||||
virtual void ReportErrors() = 0;
|
||||
|
||||
//! Prepare or pose content before rendering
|
||||
virtual void Update() = 0;
|
||||
};
|
||||
} // namespace AtomToolsFramework
|
||||
|
||||
Reference in New Issue
Block a user