Changeset 32970 in project


Ignore:
Timestamp:
12/12/15 06:11:11 (5 years ago)
Author:
John Croisant
Message:

Summary: sdl2: Added window-pixel-format-raw; plus minor fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/sdl2

    r32918 r32970  
    633633
    634634
    635 <procedure>(get-keyboard-focus) → window</procedure>
     635<procedure>(get-keyboard-focus) → sdl2:window</procedure>
    636636
    637637See [[https://wiki.libsdl.org/SDL_GetKeyboardFocus|SDL_GetKeyboardFocus]].
     
    778778
    779779<procedure>(gl-swap-interval) → fixnum</procedure>
    780 <setter>(set! (gl-swap-interval) interval) â†’ fixnum</setter>
    781 <setter>(gl-set-swap-interval! interval) â†’ fixnum</setter>
     780<setter>(set! (gl-swap-interval) interval)</setter>
     781<setter>(gl-set-swap-interval! interval)</setter>
    782782
    783783See [[https://wiki.libsdl.org/SDL_GL_GetSwapInterval|SDL_GL_GetSwapInterval]]
     
    826826Signals an exception of kind {{(exn bounds)}} if {{firstcolor}} is out of bounds.
    827827
    828 The {{set!}} form cannot accept the {{firstcolor}} arguments.
     828The {{set!}} form cannot accept the {{firstcolor}} argument.
    829829
    830830The setters return #t if every color in {{colors-vec}} was used, or #f if some colors were not used,
     
    15971597
    15981598
    1599 <procedure>(window-pixel-format window) → sdl2:pixel-format</procedure>
    1600 
     1599<procedure>(window-pixel-format window) → symbol</procedure>
     1600<procedure>(window-pixel-format-raw window) → fixnum</procedure>
     1601
     1602Returns a symbol or integer indicating the given window's pixel format.
    16011603See [[https://wiki.libsdl.org/SDL_GetWindowPixelFormat|SDL_GetWindowPixelFormat]].
     1604
     1605* {{window-pixel-format}} returns a [[https://gitlab.com/chicken-sdl2/chicken-sdl2/blob/master/docs/enums.md#pixel-formats|pixel format symbol]].
     1606* {{window-pixel-format-raw}} returns an integer.
    16021607
    16031608
Note: See TracChangeset for help on using the changeset viewer.