Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crab
master
Top Level Namespace
BiosSelection
Config
GBA
GBC
ConfigEditor
Controller
Crab
Emu
Frontend
GB
APU
Cartridge
CGB
CartridgeType
Channel1
Channel2
Channel3
Channel4
CPU
DmgOps
FlagOp
Flags
Group
Operation
Response
FifoPPU
FetchStage
GB
Interrupts
InterruptLine
Joypad
MBC1
MBC2
MBC3
MBC5
Memory
Opcodes
Pixel
PPU
ROM
ScanlinePPU
SoundChannel
Sprite
Timer
VolumeEnvelopeChannel
GBA
APU
ARM
BGR16
BlendMode
Bus
Cartridge
Channel1
Channel2
Channel3
Channel4
Color
CPU
Mode
PSR
DMA
AddressControl
StartTiming
DMAChannels
EEPROM
Size
State
Flash
Command
State
GBA
GPIO
Interrupts
Keypad
MMIO
Pipeline
PPU
Reg
Base16
Base32
BGAFF
BGCNT
BGOFS
BGREF
BLDALPHA
BLDCNT
BLDY
DISPCNT
DISPSTAT
DMACNT
InterruptReg
KEYCNT
KEYINPUT
MOSAIC
SOUNDBIAS
SOUNDCNT_H
SOUNDCNT_L
TMCNT
WAITCNT
WINH
WININ
WINOUT
WINV
RTC
Register
State
SoundChannel
Sprite
SpritePixel
SRAM
Storage
Type
THUMB
Timer
VolumeEnvelopeChannel
Waitloop
AddOffsetToStackPointer
AddSubtract
AluOperations
ConditionalBranch
HighRegBranchExchange
Instruction
LoadAddress
LoadStoreHalfword
LoadStoreImmediateOffset
LoadStoreRegisterOffset
LoadStoreSignExtended
LongBranchLink
MoveCompareAddSubtract
MoveShiftedRegister
MultipleLoadStore
PcRelativeLoad
PushPopRegisters
SoftwareInterrupt
SpRelativeLoadStore
UnconditionalBranch
Unimplemented
GBAController
GBController
HeadlessFrontend
ImGui
FileExplorer
Input
Keybindings
Resolvable
Scheduler
EventType
SDL
Window
SDLOpenGLImGuiFrontend
OpenGLInfo
Shader
StubbedController
Built with Crystal 1.10.0
2023-12-10 00:36:06 UTC
class
SDL::
Window
SDL::Window
Reference
Object
Defined in:
lib/sdl/src/window.cr
crab/common/bindings.cr
Instance Method Summary
#get_size
: Tuple(Int32, Int32)
#height
: Int32
#width
: Int32
Instance Method Detail
def
get_size
: Tuple(Int32, Int32)
#
[
View source
]
def
height
: Int32
#
[
View source
]
def
width
: Int32
#
[
View source
]