api
types.ch
Declarations in types.ch
1 declarationswindow
Declarations
Public only
window#
Publicnamespace
namespace window
- The resize callback and window_client_size report PHYSICAL pixels (the
WindowError#
Publicvariant
variant WindowError {
var PlatformNotSupported : WindowError
var CreateFailed : WindowError
var InvalidState : WindowError
}
message#
Publicfunction
delete#
function
func delete(self : *WindowError) : void
Size#
Publicstruct
struct Size {
var width : int
var height : int
}
===========================================================================
Position#
Publicstruct
struct Position {
var x : int
var y : int
}
Rect#
Publicstruct
struct Rect {
var x : int
var y : int
var width : int
var height : int
}
Event#
Publicstruct
struct Event {
var kind : int
var x : int
var y : int
var button : int
var key : int
var key_char : uchar
var modifiers : int
}
ResizeCallback#
Publictypealias
type ResizeCallback = func(*void, int, int) : void
===========================================================================
CloseCallback#
Publictypealias
type CloseCallback = func(*void) : void
FocusCallback#
Publictypealias
type FocusCallback = func(*void, bool) : void
DropCallback#
Publictypealias
type DropCallback = func(*void, *char) : void
CommandCallback#
Publictypealias
type CommandCallback = func(*void, int) : void
TimerCallback#
Publictypealias
type TimerCallback = func(*void) : void