1
0
Fork 0
LithOS3/lithos_c/inc/Lth_window.h

40 lines
982 B
C
Raw Normal View History

//-----------------------------------------------------------------------------
//
// Copyright © 2016 Project Golan
//
// See "LICENSE" for more information.
//
//-----------------------------------------------------------------------------
//
// Window control.
//
//-----------------------------------------------------------------------------
#ifndef lithos3__Lth_window_h
#define lithos3__Lth_window_h
2016-10-18 14:20:32 -07:00
// Type Definitions ----------------------------------------------------------|
//
// Lth_Window
//
// Inherits Lth_Control (read-write).
//
// read-only
// title: title of window (see also: Lth_WindowSetTitle)
//
typedef struct Lth_Window
{
Lth_Inherits(Lth_Control);
char *title;
} Lth_Window;
2016-10-18 14:20:32 -07:00
// Extern Functions ----------------------------------------------------------|
2016-10-23 18:24:40 -07:00
Lth_OptArgs(2) Lth_Window *Lth_WindowNew(char const *title, int x, int y, int w, int h);
void Lth_WindowSetTitle(Lth_Window *ctrl, char const *title);
#endif//lithos3__Lth_window_h