Procházet zdrojové kódy

Changes to sidebar labels.

woollybah před 5 roky
rodič
revize
581b6fc8f3

+ 21 - 1
docs/api/sdl/sdl_sdl.md

@@ -1,7 +1,7 @@
 ---
 id: sdl.sdl
 title: SDL.SDL
-sidebar_label: SDL.SDL
+sidebar_label: Introduction
 ---
 
 
@@ -44,6 +44,15 @@ Mac OS X and iOS Specific Functionality: If the application is in a ".app" bundl
 the name SDL_FILESYSTEM_BASE_DIR_TYPE with a supported value will change the behaviour.
 
 
+#### Example
+```blitzmax
+SuperStrict
+
+Framework SDL.SDL
+Import BRL.StandardIO
+
+Print SDLGetBasePath()
+```
 <br/>
 
 ### `Function SDLGetPrefPath:String(org:String, app:String)`
@@ -224,6 +233,17 @@ Print "Remaining : " + seconds + " seconds (" + percent + " %)"
 
 Gets the human readable name of a pixel format
 
+#### Example
+```blitzmax
+SuperStrict
+
+Framework SDL.SDL
+Import brl.standardio
+
+Print SDLGetPixelFormatName(SDL_PIXELFORMAT_INDEX8)
+Print SDLGetPixelFormatName(SDL_PIXELFORMAT_RGB24)
+Print SDLGetPixelFormatName(SDL_PIXELFORMAT_BGRA8888)
+```
 <br/>
 
 ### `Function SDLGetTicks:UInt()`

+ 1 - 1
docs/api/sdl/sdl_sdlgamecontroller.md

@@ -1,7 +1,7 @@
 ---
 id: sdl.sdlgamecontroller
 title: SDL.SDLGameController
-sidebar_label: SDL.SDLGameController
+sidebar_label: Introduction
 ---
 
 

+ 1 - 1
docs/api/sdl/sdl_sdlhaptic.md

@@ -1,7 +1,7 @@
 ---
 id: sdl.sdlhaptic
 title: SDL.SDLHaptic
-sidebar_label: SDL.SDLHaptic
+sidebar_label: Introduction
 ---
 
 

+ 1 - 1
docs/api/sdl/sdl_sdlrender.md

@@ -1,7 +1,7 @@
 ---
 id: sdl.sdlrender
 title: SDL.SDLRender
-sidebar_label: SDL.SDLRender
+sidebar_label: Introduction
 ---
 
 

+ 1 - 1
docs/api/sdl/sdl_sdlsensor.md

@@ -1,7 +1,7 @@
 ---
 id: sdl.sdlsensor
 title: SDL.SDLSensor
-sidebar_label: SDL.SDLSensor
+sidebar_label: Introduction
 ---
 
 

+ 1 - 1
docs/api/sdl/sdl_sdlsurface.md

@@ -1,7 +1,7 @@
 ---
 id: sdl.sdlsurface
 title: SDL.SDLSurface
-sidebar_label: SDL.SDLSurface
+sidebar_label: Introduction
 ---
 
 

+ 1 - 1
docs/api/sdl/sdl_sdlsystem.md

@@ -1,7 +1,7 @@
 ---
 id: sdl.sdlsystem
 title: SDL.SDLSystem
-sidebar_label: SDL.SDLSystem
+sidebar_label: Introduction
 ---
 
 

+ 1 - 1
docs/api/sdl/sdl_sdltimer.md

@@ -1,7 +1,7 @@
 ---
 id: sdl.sdltimer
 title: SDL.SDLTimer
-sidebar_label: SDL.SDLTimer
+sidebar_label: Introduction
 ---
 
 

+ 1 - 1
docs/api/sdl/sdl_sdlvideo.md

@@ -1,7 +1,7 @@
 ---
 id: sdl.sdlvideo
 title: SDL.SDLVideo
-sidebar_label: SDL.SDLVideo
+sidebar_label: Introduction
 ---
 
 

+ 1 - 1
docs/api/sdl/sdl_virtualjoystick.md

@@ -1,7 +1,7 @@
 ---
 id: sdl.virtualjoystick
 title: SDL.VirtualJoystick
-sidebar_label: SDL.VirtualJoystick
+sidebar_label: Introduction
 ---