GOG GALAXY SDK Documentation
|
The interface for managing images. More...
#include <IUtils.h>
Public Member Functions | |
virtual void | GetImageSize (uint32_t imageID, int32_t &width, int32_t &height)=0 |
Reads width and height of the image of a specified ID. More... | |
virtual void | GetImageRGBA (uint32_t imageID, void *buffer, uint32_t bufferLength)=0 |
Reads the image of a specified ID. More... | |
virtual void | RegisterForNotification (const char *type)=0 |
Register for notifications of a specified type. More... | |
virtual uint32_t | GetNotification (NotificationID notificationID, bool &consumable, char *type, uint32_t typeLength, void *content, uint32_t contentSize)=0 |
Reads a specified notification. More... | |
virtual void | ShowOverlayWithWebPage (const char *url)=0 |
Shows web page in the overlay. More... | |
virtual bool | IsOverlayVisible ()=0 |
Return current visibility of the overlay. More... | |
virtual OverlayState | GetOverlayState ()=0 |
Return current state of the overlay. More... | |
virtual void | DisableOverlayPopups (const char *popupGroup)=0 |
Disable overlay pop-up notifications. More... | |
virtual GogServicesConnectionState | GetGogServicesConnectionState ()=0 |
Return current state of the connection to GOG services. More... | |
The interface for managing images.
|
pure virtual |
Disable overlay pop-up notifications.
Hides overlay pop-up notifications based on the group specified below:
[in] | popupGroup | - The name of the notification pop-up group. |
|
pure virtual |
Return current state of the connection to GOG services.
|
pure virtual |
Reads the image of a specified ID.
[in] | imageID | The ID of the image. |
[in,out] | buffer | The output buffer. |
[in] | bufferLength | The size of the output buffer. |
|
pure virtual |
Reads width and height of the image of a specified ID.
[in] | imageID | The ID of the image. |
[out] | width | The width of the image. |
[out] | height | The height of the image. |
|
pure virtual |
Reads a specified notification.
[in] | notificationID | The ID of the notification. |
[out] | consumable | Indicates if the notification should be consumed. |
[in,out] | type | The output buffer for the type of the notification. |
[in] | typeLength | The size of the output buffer for the type of the notification. |
[in,out] | content | The output buffer for the content of the notification. |
[in] | contentSize | The size of the output buffer for the content of the notification. |
|
pure virtual |
Return current state of the overlay.
|
pure virtual |
Return current visibility of the overlay.
|
pure virtual |
Register for notifications of a specified type.
[in] | type | The name of the type. |
|
pure virtual |
Shows web page in the overlay.
[in] | url | The URL address of a specified web page with the limit of 2047 bytes. |