"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "caca-sharp/Canvas.cs" between
libcaca-0.99.beta19.tar.gz and libcaca-0.99.beta20.tar.bz2

About: libcaca is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals (something like an advanced AAlib library).

Canvas.cs  (libcaca-0.99.beta19):Canvas.cs  (libcaca-0.99.beta20.tar.bz2)
skipping to change at line 230 skipping to change at line 230
public int setColorAnsi(uint fg, uint bg) public int setColorAnsi(uint fg, uint bg)
{ {
return caca_set_color_ansi(_c_cv, (byte)fg, (byte)bg); return caca_set_color_ansi(_c_cv, (byte)fg, (byte)bg);
} }
[DllImport("libcaca.dll", CallingConvention=CallingConvention.Cdecl), [DllImport("libcaca.dll", CallingConvention=CallingConvention.Cdecl),
SuppressUnmanagedCodeSecurity] SuppressUnmanagedCodeSecurity]
private static extern int caca_set_color_argb(IntPtr cv, private static extern int caca_set_color_argb(IntPtr cv,
uint fg, uint bg); uint fg, uint bg);
public int setColorArgb(uint fg, uint bg) public int setColorArgb(ushort fg, ushort bg)
{ {
return caca_set_color_argb(_c_cv, fg, bg); return caca_set_color_argb(_c_cv, fg, bg);
} }
[DllImport("libcaca.dll", CallingConvention=CallingConvention.Cdecl), [DllImport("libcaca.dll", CallingConvention=CallingConvention.Cdecl),
SuppressUnmanagedCodeSecurity] SuppressUnmanagedCodeSecurity]
private static extern int caca_clear_canvas(IntPtr cv); private static extern int caca_clear_canvas(IntPtr cv);
public int Clear() public int Clear()
{ {
return caca_clear_canvas(_c_cv); return caca_clear_canvas(_c_cv);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)