Reference for .Net version of SpaceVIL  0.3.5.8
SpaceVIL (Space of Visual Items Layout) is a cross-platform and multilingual framework for creating GUI client applications for .NET Standard, .NET Core and JVM. SpaceVIL is based on OpenGL graphic technology and GLFW. Using this framework in conjunction with .Net Core or with a JVM, you can work and create graphical client applications on Linux, Mac OS X and Windows.
SpaceVIL.ItemsRefreshManager Class Reference

ItemsRefreshManager is a manager that allows you to add an item of a certain type to the queue for a forced refresh. It can be use with custom implementation of one of the types: shape, text, image. For example: a Bitmap change in an IImageItem implementation, a shape change in an IBaseItem implementation. More...

Static Public Member Functions

static bool SetRefreshShape (IBaseItem item)
 Adding an IBaseItem implementation to the queue for a forced refresh. Tips: use this function only if you want to refresh shape of an item, ITextContainer and IImageItem are not shapes. More...
 
static bool SetRefreshText (ITextContainer item)
 Adding an ITextContainer implementation to the queue for a forced refresh. Tips: use this function only if you want to refresh text of an item, IBaseItem and IImageItem are not text. More...
 
static bool SetRefreshImage (IImageItem item)
 Adding an IImageItem implementation to the queue for a forced refresh. Tips: use this function only if you want to refresh image of an item, IBaseItem and ITextContainer are not images. More...
 

Detailed Description

ItemsRefreshManager is a manager that allows you to add an item of a certain type to the queue for a forced refresh. It can be use with custom implementation of one of the types: shape, text, image. For example: a Bitmap change in an IImageItem implementation, a shape change in an IBaseItem implementation.

Member Function Documentation

◆ SetRefreshImage()

static bool SpaceVIL.ItemsRefreshManager.SetRefreshImage ( IImageItem  item)
static

Adding an IImageItem implementation to the queue for a forced refresh. Tips: use this function only if you want to refresh image of an item, IBaseItem and ITextContainer are not images.

Parameters
itemAn item as SpaceVIL.Core.IImageItem.
Returns
True: if adding is successfull. False: if an item is already in the refresh queue.

◆ SetRefreshShape()

static bool SpaceVIL.ItemsRefreshManager.SetRefreshShape ( IBaseItem  item)
static

Adding an IBaseItem implementation to the queue for a forced refresh. Tips: use this function only if you want to refresh shape of an item, ITextContainer and IImageItem are not shapes.

Parameters
itemAn item as SpaceVIL.Core.IBaseItem.
Returns
True: if adding is successfull. False: if an item is already in the refresh queue.

◆ SetRefreshText()

static bool SpaceVIL.ItemsRefreshManager.SetRefreshText ( ITextContainer  item)
static

Adding an ITextContainer implementation to the queue for a forced refresh. Tips: use this function only if you want to refresh text of an item, IBaseItem and IImageItem are not text.

Parameters
itemAn item as SpaceVIL.Core.ITextContainer.
Returns
True: if adding is successfull. False: if an item is already in the refresh queue.

The documentation for this class was generated from the following file: