summary refs log tree commit diff stats
path: root/lib/wrappers/sdl/sdl_gfx.nim
diff options
context:
space:
mode:
authorFlaviu Tamas <tamasflaviu@gmail.com>2015-05-26 19:32:50 -0400
committerFlaviu Tamas <tamasflaviu@gmail.com>2015-06-07 13:12:18 -0400
commit90ed34db72e8ea8f70d1e86dd2335efe48532fa8 (patch)
tree9d9e46c0ddbb87f562981f072220bd36a7f199cb /lib/wrappers/sdl/sdl_gfx.nim
parent075a5e844069979f1fc3782839e9e2cc62c61ad5 (diff)
parentbbb1bdb4a939aa43ed981acc2f96bce918be7d21 (diff)
downloadNim-90ed34db72e8ea8f70d1e86dd2335efe48532fa8.tar.gz
Merge branch 'devel' of https://github.com/Araq/Nim into add-nre
* 'devel' of https://github.com/Araq/Nim:
  Fix #964, fix #1384
  Don't inspect typedescs
Diffstat (limited to 'lib/wrappers/sdl/sdl_gfx.nim')
-rw-r--r--lib/wrappers/sdl/sdl_gfx.nim14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/wrappers/sdl/sdl_gfx.nim b/lib/wrappers/sdl/sdl_gfx.nim
index 5523ad0a2..0f5afaa9b 100644
--- a/lib/wrappers/sdl/sdl_gfx.nim
+++ b/lib/wrappers/sdl/sdl_gfx.nim
@@ -37,22 +37,22 @@ const                         # Some rates in Hz
   SMOOTHING_ON* = 1
 
 type 
-  PFPSmanager* = ptr TFPSmanager
-  TFPSmanager*{.final.} = object  # ---- Structures
+  PFPSmanager* = ptr FPSmanager
+  FPSmanager*{.final.} = object  # ---- Structures
     framecount*: uint32
     rateticks*: float32
     lastticks*: uint32
     rate*: uint32
 
-  PColorRGBA* = ptr TColorRGBA
-  TColorRGBA*{.final.} = object 
+  PColorRGBA* = ptr ColorRGBA
+  ColorRGBA*{.final.} = object 
     r*: byte
     g*: byte
     b*: byte
     a*: byte
 
-  PColorY* = ptr TColorY
-  TColorY*{.final.} = object  #
+  PColorY* = ptr ColorY
+  ColorY*{.final.} = object   #
                               #
                               # SDL_framerate: framerate manager
                               #
@@ -60,7 +60,7 @@ type
                               #
                               #
     y*: byte
-
+{.deprecated: [TFPSmanager: FPSmanager, TColorRGBA: ColorRGBA, TColorY: ColorY].}
 
 proc initFramerate*(manager: PFPSmanager){.cdecl, importc: "SDL_initFramerate", 
     dynlib: gfxLibName.}