{"author_url":"https://blog.hatena.ne.jp/kyokomi/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkyokomi.hatenablog.com%2Fentry%2F2014%2F05%2F03%2F205601\" title=\"Cocos2d-x\u306e\u9078\u629e\u3057\u305fMenuItem\u3060\u3051\u8272\u3092\u3064\u3051\u3066\u5f37\u8abf\u3059\u308b - \u304d\u3087\u3053\u307f\u306e\u30fc\u3068\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"kyokomi","provider_name":"Hatena Blog","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/k/kyokomi/20140503/20140503205441.png","published":"2014-05-03 20:56:01","version":"1.0","blog_title":"\u304d\u3087\u3053\u307f\u306e\u30fc\u3068","width":"100%","title":"Cocos2d-x\u306e\u9078\u629e\u3057\u305fMenuItem\u3060\u3051\u8272\u3092\u3064\u3051\u3066\u5f37\u8abf\u3059\u308b","blog_url":"https://kyokomi.hatenablog.com/","height":"190","provider_url":"https://hatena.blog","categories":["Cocos2d-x","cocos2d-x3"],"url":"https://kyokomi.hatenablog.com/entry/2014/05/03/205601","description":"Tips\u7cfb\u3067\u3059\u3002 Cocos2d-x3.0\u3067\u691c\u8a3c\u3057\u307e\u3057\u305f\u3002 \u3053\u3093\u306a\u611f\u3058\u306b\u3001Menu\u5185\u3067\u6700\u5f8c\u306b\u9078\u629e\u3057\u305fMenuItem\u3060\u3051\u5f37\u8abf\u3057\u305f\u3068\u304d\u306b\u4f7f\u3044\u307e\u3059\u3002 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\uff08MenuItemUtil.h\uff09 \u4f7f\u3044\u65b9 #include \"MenuItemUtil.h\" // ... \u7701\u7565 ... void initHogeMenu() { cocos2d::Vector<MenuItem*> menuItemArray; for (int i = 0; i < 2; i++) { auto menuItemLabel = MenuItemLabel::create(Label::createWithSystem\u2026"}