patel

Hijab Makeup Salon

Hijab Makeup Salon iOS

Screenshots

Hijab Makeup Salon iOS
Hijab Makeup Salon iOS
Hijab Makeup Salon iOS

Specification

How to Use

Sample Code

#ifndef __real_makeover__makeup_section__ #define __real_makeover__makeup_section__ #include <iostream> #include "cocos2d.h" using namespace cocos2d; class makeup_section : public cocos2d::CCLayer { public: // Method 'init' in cocos2d-x returns bool, instead of 'id' in cocos2d-iphone (an object pointer) virtual bool init(); // there's no 'id' in cpp, so we recommend to return the class instance pointer static cocos2d::CCScene* scene(); CCPoint locationpoint; CCSize WinSize; float scalefactorx; float scalefactory; int add_width; //background sprite CCSprite *Background,*next,*prev; int next_flag; CCMenuItemImage *nextimg,*previmg; CCMenu *nextmenu,*prevmenu; void next_method(); void prev_method(); //button CCSprite *eyepart; CCSprite *button_panel1; CCSprite *button_panel; CCSprite *button_eyelanc[7]; CCSprite *button_eyelash[9]; CCSprite *button_eyeshadow[9]; CCSprite *button_lips[12]; CCSprite *button_blush[12]; CCSprite *getfree_button_eyelanc[9]; CCSprite *getfree_button_eyelash[9]; CCSprite *getfree_button_eyeshadow[9]; CCSprite *getfree_button_lips[11]; CCSprite *getfree_button_blush[12]; int blush_count; int eyeshadow_count; int eyelash_count; int eyelansh_count; int lipstic_count; int change_blush; int change_eyeshadow; int change_eyelash; int change_eyelansh; int change_lipstic; int blush_use; int eyeshadow_use; int eyelash_use; int eyelansh_use; int lipstic_use; int lipstik_mask_touch; int eyeshadow_mask_touch; int eyelash_mask_touch; int blush_mask_touch; int getfree_lipstik; int getfree_eyeshadow; int getfree_eyelash; int getfree_blush; int getfree_eyelansh; void getfree(); //character CCSprite *body,*eyelash,*eye_brow,*lips,*hair,*eyelansh,*eyeshadow,*blush,*eye,*hair_up,*hair_cap,*towel; CCSprite *btn_eyelance,*btn_eyeshadow,*btn_eyelash,*btn_lipstic,*btn_blush; CCSprite *lips_brush,*eyelash_brush,*eyeshadow_brush,*blush_brush; CCSprite *default_lips,*default_eyelash; //rendertexture CCSprite *brush; CCRenderTexture *maskLayer; CCPoint _lastPosition; CCPoint _currentPosition; void drawTexture(); void eyelash_clearTexture(); void blush_clearTexture(); void eyeshadow_clearTexture(); void next_object_move(); void allbutton_enabled(); void allbutton_desabled(); CCProgressTimer *progressTimer; void progresstimer_method(); virtual void ccTouchesBegan(CCSet *pTouches, CCEvent *pEvent); virtual void ccTouchesMoved(CCSet *pTouches, CCEvent *pEvent); virtual void ccTouchesEnded(CCSet *pTouches, CCEvent *pEvent); // a selector callback void menuCloseCallback(CCObject* pSender); // preprocessor macro for "static create()" constructor ( node() deprecated ) CREATE_FUNC(makeup_section); }; #endif /* defined(__real_makeover__makeup_section__) */

Video

Comments (6)

  • {{com.username}}
    {{com.username}}
    Buyer
    Seller

    {{com.username}}

    {{com.ctime}}

    {{com.content}}

    • {{com2.username}}
      {{com2.username}}
      Buyer
      Seller

      {{com2.username}}

      {{com2.ctime}}

      {{com2.content}}