Rename the _MD macro to D_METHOD
This new name also makes its purpose a little clearer This is a step towards fixing #56
This commit is contained in:
parent
bf64df4427
commit
411ee71b4d
297 changed files with 5445 additions and 5443 deletions
|
|
@ -77,11 +77,11 @@ BackBufferCopy::CopyMode BackBufferCopy::get_copy_mode() const{
|
|||
|
||||
void BackBufferCopy::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(_MD("set_rect","rect"),&BackBufferCopy::set_rect);
|
||||
ClassDB::bind_method(_MD("get_rect"),&BackBufferCopy::get_rect);
|
||||
ClassDB::bind_method(D_METHOD("set_rect","rect"),&BackBufferCopy::set_rect);
|
||||
ClassDB::bind_method(D_METHOD("get_rect"),&BackBufferCopy::get_rect);
|
||||
|
||||
ClassDB::bind_method(_MD("set_copy_mode","copy_mode"),&BackBufferCopy::set_copy_mode);
|
||||
ClassDB::bind_method(_MD("get_copy_mode"),&BackBufferCopy::get_copy_mode);
|
||||
ClassDB::bind_method(D_METHOD("set_copy_mode","copy_mode"),&BackBufferCopy::set_copy_mode);
|
||||
ClassDB::bind_method(D_METHOD("get_copy_mode"),&BackBufferCopy::get_copy_mode);
|
||||
|
||||
ADD_PROPERTY( PropertyInfo(Variant::INT,"copy_mode",PROPERTY_HINT_ENUM,"Disabled,Rect,Viewport"),"set_copy_mode","get_copy_mode");
|
||||
ADD_PROPERTY( PropertyInfo(Variant::RECT2,"rect"),"set_rect","get_rect");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue