Download Now
Forums

    Reference Codebot.Platform.SDL.pas

    Part of the Codebot Render SDL package

    The Codebot.Platform.SDL unit provides the Codebot.Platform interfaces using SDL2, for programs that run their scenes without the LCL. Bitmaps are loaded and saved using SDL_image, the clipboard is the SDL clipboard, and message dialogs are SDL message boxes. SDL has no file dialogs of its own, so the file and picture dialogs are the ones built from widgets in Codebot.Render.Widgets.Dialogs.

    You don't need to call anything. The platform routines are set up when this unit is initialized.

    Items 14 items

    NameKindLine
    NewBitmapDataSDLfunction65
    NewWindowSDLfunction68
    TBitmapDataSDLclass44
    GetHeightfunction51
    GetPixelsfunction52
    GetWidthfunction50
    LoadFromFileprocedure55
    LoadFromStreamprocedure56
    SaveToFileprocedure57
    SaveToStreamprocedure58
    SetSizeprocedure54
    Heightproperty60
    Pixelsproperty61
    Widthproperty59