{"action":"created","issue":{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/1279","labels_url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/1279/labels{/name}","comments_url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/1279/comments","events_url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/1279/events","html_url":"https://github.com/pavel-pimenov/flylinkdc-r5xx/issues/1279","id":102936182,"number":1279,"title":"r502-beta106 Недопустимо большое кол-во GDI дескрипторов!","user":{"login":"pavel-pimenov","id":920705,"avatar_url":"https://avatars.githubusercontent.com/u/920705?v=3","gravatar_id":"","url":"https://api.github.com/users/pavel-pimenov","html_url":"https://github.com/pavel-pimenov","followers_url":"https://api.github.com/users/pavel-pimenov/followers","following_url":"https://api.github.com/users/pavel-pimenov/following{/other_user}","gists_url":"https://api.github.com/users/pavel-pimenov/gists{/gist_id}","starred_url":"https://api.github.com/users/pavel-pimenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavel-pimenov/subscriptions","organizations_url":"https://api.github.com/users/pavel-pimenov/orgs","repos_url":"https://api.github.com/users/pavel-pimenov/repos","events_url":"https://api.github.com/users/pavel-pimenov/events{/privacy}","received_events_url":"https://api.github.com/users/pavel-pimenov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/labels/Performance","name":"Performance","color":"FFFFFF"},{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/labels/Priority-Critical","name":"Priority-Critical","color":"FFFFFF"},{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/labels/Stability","name":"Stability","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-08-25T02:34:53Z","updated_at":"2015-08-25T02:37:11Z","closed_at":null,"body":"_From [Pavel.Pimenov@gmail.com](https://code.google.com/u/Pavel.Pimenov@gmail.com/) on August 25, 2013 18:27:13_\n\nhttp://www.flickr.com/photos/96019675@N02/9592773324/\n\n**Attachment:** [Favorites.xml](http://code.google.com/p/flylinkdc/issues/detail?id=1242)\n\n_Original issue: http://code.google.com/p/flylinkdc/issues/detail?id=1242_"},"comment":{"url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/comments/134456155","html_url":"https://github.com/pavel-pimenov/flylinkdc-r5xx/issues/1279#issuecomment-134456155","issue_url":"https://api.github.com/repos/pavel-pimenov/flylinkdc-r5xx/issues/1279","id":134456155,"user":{"login":"pavel-pimenov","id":920705,"avatar_url":"https://avatars.githubusercontent.com/u/920705?v=3","gravatar_id":"","url":"https://api.github.com/users/pavel-pimenov","html_url":"https://github.com/pavel-pimenov","followers_url":"https://api.github.com/users/pavel-pimenov/followers","following_url":"https://api.github.com/users/pavel-pimenov/following{/other_user}","gists_url":"https://api.github.com/users/pavel-pimenov/gists{/gist_id}","starred_url":"https://api.github.com/users/pavel-pimenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavel-pimenov/subscriptions","organizations_url":"https://api.github.com/users/pavel-pimenov/orgs","repos_url":"https://api.github.com/users/pavel-pimenov/repos","events_url":"https://api.github.com/users/pavel-pimenov/events{/privacy}","received_events_url":"https://api.github.com/users/pavel-pimenov/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T02:37:11Z","updated_at":"2015-08-25T02:37:11Z","body":"_From [Pavel.Pimenov@gmail.com](https://code.google.com/u/Pavel.Pimenov@gmail.com/) on August 29, 2013 09:36:20_\n\nr15138 - Исправлен баг CDC dc(::GetDC(hWnd)); нужно CDCHandle dc(::GetDC(hWnd));\r\nт.к. ~CDC() зовет DeleteDC\r\n   - Убрал ZION_TABS\r\n   - Убрал using namespace Gdiplus; из хедера - опасно.\r\n   - Выкинул созданеи в конструкторе 300 иконок\r\n      HIconWrapper* m_hIcon;\r\n      HIconWrapper* m_hStateIcon;\r\n      теперь они создаются динамически - потетсить частоту и может быть\r\nпридумать кеширование.\r\n   TODO\r\n    - Убрать копипаст\r\n        TabInfo* t = *i;\r\n        if (row == t->m_row &&\r\n        pt.x >= t->m_xpos &&\r\n        pt.x \\< t->m_xpos + t->getWidth())\r\n    - long p_icon, long p_stateIcon сократить тип с long (зачем такое длинное\r\nчисло для иконки)"}}