Accommodate for @mathewv's "smooth" implementation

This commit is contained in:
Vinyl Darkscratch 2016-12-14 21:14:42 -08:00
parent 582b750c2b
commit f8c3862c2e
2 changed files with 0 additions and 10 deletions

View file

@ -198,7 +198,6 @@ RB_METHOD(graphicsPlayMovie)
DEF_GRA_PROP_I(FrameRate) DEF_GRA_PROP_I(FrameRate)
DEF_GRA_PROP_I(FrameCount) DEF_GRA_PROP_I(FrameCount)
DEF_GRA_PROP_I(Brightness) DEF_GRA_PROP_I(Brightness)
DEF_GRA_PROP_B(Smooth)
DEF_GRA_PROP_B(Fullscreen) DEF_GRA_PROP_B(Fullscreen)
DEF_GRA_PROP_B(ShowCursor) DEF_GRA_PROP_B(ShowCursor)
@ -242,8 +241,6 @@ void graphicsBindingInit()
_rb_define_module_function(module, "play_movie", graphicsPlayMovie); _rb_define_module_function(module, "play_movie", graphicsPlayMovie);
} }
INIT_GRA_PROP_BIND( Smooth, "smooth" );
INIT_GRA_PROP_BIND( Fullscreen, "fullscreen" ); INIT_GRA_PROP_BIND( Fullscreen, "fullscreen" );
INIT_GRA_PROP_BIND( ShowCursor, "show_cursor" ); INIT_GRA_PROP_BIND( ShowCursor, "show_cursor" );
INIT_GRA_PROP_BIND( Smooth, "smooth" ); INIT_GRA_PROP_BIND( Smooth, "smooth" );

View file

@ -936,13 +936,6 @@ void Graphics::fadein(int duration)
} }
} }
DEF_ATTR_RD_SIMPLE(Graphics, Smooth, bool, p->smooth)
void Graphics::setSmooth(bool value)
{
p->smooth = value;
}
Bitmap *Graphics::snapToBitmap() Bitmap *Graphics::snapToBitmap()
{ {
Bitmap *bitmap = new Bitmap(width(), height()); Bitmap *bitmap = new Bitmap(width(), height());