mirror of https://github.com/axmolengine/axmol.git
Merge pull request #4349 from ricardoquesada/pragma_mark_love
Adds some #pragma mark love
This commit is contained in:
commit
e9e04d7d5e
|
@ -183,10 +183,6 @@ private:
|
|||
CC_DEPRECATED_ATTRIBUTE int executeScriptTouchesHandler(EventTouch::EventCode eventType, const std::vector<Touch*>& touches);
|
||||
};
|
||||
|
||||
#ifdef __apple__
|
||||
#pragma mark -
|
||||
#pragma mark LayerRGBA
|
||||
#endif
|
||||
|
||||
/** LayerRGBA is a subclass of Layer that implements the RGBAProtocol protocol using a solid color as the background.
|
||||
|
||||
|
|
|
@ -478,8 +478,7 @@ static CCEAGLView *__view = 0;
|
|||
cocos2d::EGLView::getInstance()->handleTouchesCancel(i, (long*)ids, xs, ys);
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark UIView - Responder
|
||||
#pragma mark - UIView - Responder
|
||||
|
||||
- (BOOL)canBecomeFirstResponder
|
||||
{
|
||||
|
@ -506,8 +505,7 @@ static CCEAGLView *__view = 0;
|
|||
return [super resignFirstResponder];
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark UIKeyInput protocol
|
||||
#pragma mark - UIKeyInput protocol
|
||||
|
||||
|
||||
- (BOOL)hasText
|
||||
|
@ -534,16 +532,14 @@ static CCEAGLView *__view = 0;
|
|||
cocos2d::IMEDispatcher::sharedDispatcher()->dispatchDeleteBackward();
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark UITextInputTrait protocol
|
||||
#pragma mark - UITextInputTrait protocol
|
||||
|
||||
-(UITextAutocapitalizationType) autocapitalizationType
|
||||
{
|
||||
return UITextAutocapitalizationTypeNone;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark UITextInput protocol
|
||||
#pragma mark - UITextInput protocol
|
||||
|
||||
#pragma mark UITextInput - properties
|
||||
|
||||
|
@ -727,8 +723,7 @@ static CCEAGLView *__view = 0;
|
|||
return nil;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark UIKeyboard notification
|
||||
#pragma mark - UIKeyboard notification
|
||||
|
||||
- (void)onUIKeyboardNotification:(NSNotification *)notif;
|
||||
{
|
||||
|
|
|
@ -37,8 +37,7 @@
|
|||
#import "ccConfig.h"
|
||||
|
||||
//NS_CC_BEGIN;
|
||||
#pragma mark -
|
||||
#pragma mark MouseEventDelegate
|
||||
#pragma mark - MouseEventDelegate
|
||||
|
||||
/** MouseEventDelegate protocol.
|
||||
Implement it in your node to receive any of mouse events
|
||||
|
@ -135,8 +134,7 @@
|
|||
|
||||
@end
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark KeyboardEventDelegate
|
||||
#pragma mark - KeyboardEventDelegate
|
||||
|
||||
/** KeyboardEventDelegate protocol.
|
||||
Implement it in your node to receive any of keyboard events
|
||||
|
@ -189,8 +187,7 @@
|
|||
@end
|
||||
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark EventDispatcher
|
||||
#pragma mark - EventDispatcher
|
||||
|
||||
struct _listEntry;
|
||||
|
||||
|
|
|
@ -77,8 +77,7 @@ float const kCD_GainDefault = 1.0f;
|
|||
-(BOOL) _setUpSourceGroups:(int[]) definitions total:(NSUInteger) total;
|
||||
@end
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark CDUtilities
|
||||
#pragma mark - CDUtilities
|
||||
|
||||
@implementation CDUtilities
|
||||
|
||||
|
@ -1262,8 +1261,7 @@ static BOOL _mixerRateSet = NO;
|
|||
@end
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
#pragma mark CDAudioInterruptTargetGroup
|
||||
#pragma mark - CDAudioInterruptTargetGroup
|
||||
|
||||
@implementation CDAudioInterruptTargetGroup
|
||||
|
||||
|
@ -1326,8 +1324,7 @@ static BOOL _mixerRateSet = NO;
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark CDAsynchBufferLoader
|
||||
#pragma mark - CDAsynchBufferLoader
|
||||
|
||||
@implementation CDAsynchBufferLoader
|
||||
|
||||
|
@ -1371,8 +1368,7 @@ static BOOL _mixerRateSet = NO;
|
|||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
#pragma mark CDBufferLoadRequest
|
||||
#pragma mark - CDBufferLoadRequest
|
||||
|
||||
@implementation CDBufferLoadRequest
|
||||
|
||||
|
@ -1394,8 +1390,7 @@ static BOOL _mixerRateSet = NO;
|
|||
@end
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
#pragma mark CDFloatInterpolator
|
||||
#pragma mark - CDFloatInterpolator
|
||||
|
||||
@implementation CDFloatInterpolator
|
||||
@synthesize start,end,interpolationType;
|
||||
|
@ -1443,8 +1438,7 @@ static BOOL _mixerRateSet = NO;
|
|||
@end
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
#pragma mark CDPropertyModifier
|
||||
#pragma mark - CDPropertyModifier
|
||||
|
||||
@implementation CDPropertyModifier
|
||||
|
||||
|
@ -1542,8 +1536,7 @@ static BOOL _mixerRateSet = NO;
|
|||
@end
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
#pragma mark CDSoundSourceFader
|
||||
#pragma mark - CDSoundSourceFader
|
||||
|
||||
@implementation CDSoundSourceFader
|
||||
|
||||
|
@ -1566,8 +1559,7 @@ static BOOL _mixerRateSet = NO;
|
|||
@end
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
#pragma mark CDSoundSourcePanner
|
||||
#pragma mark - CDSoundSourcePanner
|
||||
|
||||
@implementation CDSoundSourcePanner
|
||||
|
||||
|
@ -1590,8 +1582,7 @@ static BOOL _mixerRateSet = NO;
|
|||
@end
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
#pragma mark CDSoundSourcePitchBender
|
||||
#pragma mark - CDSoundSourcePitchBender
|
||||
|
||||
@implementation CDSoundSourcePitchBender
|
||||
|
||||
|
@ -1614,8 +1605,7 @@ static BOOL _mixerRateSet = NO;
|
|||
@end
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
#pragma mark CDSoundEngineFader
|
||||
#pragma mark - CDSoundEngineFader
|
||||
|
||||
@implementation CDSoundEngineFader
|
||||
|
||||
|
|
Loading…
Reference in New Issue