| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- namespace bs
- {
- /** @addtogroup Utility-Engine
- * @{
- */
- /** Available cursor types. */
- enum class CursorType
- {
- Arrow,
- ArrowDrag,
- ArrowLeftRight,
- Wait,
- IBeam,
- SizeNESW,
- SizeNS,
- SizeNWSE,
- SizeWE,
- Deny,
- // Keep at the end
- Count
- };
- /** Type of scaling modes for GUI images. */
- enum class TextureScaleMode
- {
- StretchToFit, /**< Image will stretch non-uniformly in all dimensions in order to cover the assigned area fully. */
- ScaleToFit, /**< Image will scale uniformly until one dimension is aligned with the assigned area. Remaining dimension might have empty space. */
- CropToFit, /**< Image will scale uniformly until both dimensions are larger or aligned with the assigned area. Remaining dimension might be cropped. */
- RepeatToFit /**< Image will keep its original size, but will repeat in order to fill the assigned area. */
- };
- /** Types of GUI meshes that can be output by GUI elements. */
- enum class GUIMeshType
- {
- /** Mesh containing a set of vertices as 2D position followed by 2D UV coordinates. */
- Triangle,
- /** Mesh containing a set of vertices as 2D position followed by vertex indices. */
- Line
- };
- /** @} */
- }
|