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 |