Claude Chappe' Curse - A C Game
Logo Institut d'Informatique Claude Chappe Logo Université de Le Mans Logo Raeptor Production
 
Loading...
Searching...
No Matches
frame.h File Reference

GUI Frame and related structures for SDL and OpenGL project. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ImageFrame
 Represents an image frame. More...
 
class  RadioButton
 Represents a radio button. More...
 
class  Slider
 Represents a slider component in the GUI. More...
 
class  Button
 Represents a button. More...
 
class  SelectList
 Represents a selectable list. More...
 
class  Label
 Represents a label. More...
 
class  InputArea
 Represents an input area. More...
 
struct  Font
 Represents a font. More...
 
struct  Theme
 Represents a theme. More...
 
class  Frame
 Represents a frame. More...
 
struct  RawColor
 Represents a raw color. More...
 

Enumerations

enum  ButtonState { BUTTON_STATE_NORMAL , BUTTON_STATE_HOVERED , BUTTON_STATE_PRESSED }
 Represents the state of a button. More...
 
enum  FrameFlags {
  FRAME_BACKGROUND = 1 << 0 , FRAME_CONTENT = 1 << 1 , FRAME_NEEDS_REFRESH = 1 << 2 , OVERFLOW_SCROLL = 1 << 3 ,
  OVERFLOW_VISIBLE = 1 << 4 , FRAME_VISIBLE = 1 << 5 , FRAME_NEEDS_INIT = 1 << 6
}
 Flags for frame properties. More...
 

Detailed Description

GUI Frame and related structures for SDL and OpenGL project.

This file contains the definitions of various structures used to create and manage GUI frames, buttons, labels, input areas, and other elements in an SDL and OpenGL project.

Enumeration Type Documentation

◆ ButtonState

Represents the state of a button.

This enumeration defines the possible states a button can be in.

Enumerator
BUTTON_STATE_NORMAL 

Button is in its normal state.

BUTTON_STATE_HOVERED 

Button is being hovered over by the cursor.

BUTTON_STATE_PRESSED 

Button is being pressed.

◆ FrameFlags

enum FrameFlags

Flags for frame properties.

This enumeration defines various flags that can be used to specify properties of a frame.

Enumerator
FRAME_BACKGROUND 

Frame has a background.

FRAME_CONTENT 

Frame has content.

FRAME_NEEDS_REFRESH 

Frame needs to be refreshed.

OVERFLOW_SCROLL 

Frame content can be scrolled.

OVERFLOW_VISIBLE 

Frame content overflow is visible.

FRAME_VISIBLE 

Frame is visible.

FRAME_NEEDS_INIT 

Frame needs to be initialized.