{"action":"created","issue":{"url":"https://api.github.com/repos/ihhub/penguinV/issues/1","repository_url":"https://api.github.com/repos/ihhub/penguinV","labels_url":"https://api.github.com/repos/ihhub/penguinV/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ihhub/penguinV/issues/1/comments","events_url":"https://api.github.com/repos/ihhub/penguinV/issues/1/events","html_url":"https://github.com/ihhub/penguinV/issues/1","id":179695196,"number":1,"title":"Add examples with GUI on different OS","user":{"login":"ihhub","id":19829520,"avatar_url":"https://avatars.githubusercontent.com/u/19829520?v=3","gravatar_id":"","url":"https://api.github.com/users/ihhub","html_url":"https://github.com/ihhub","followers_url":"https://api.github.com/users/ihhub/followers","following_url":"https://api.github.com/users/ihhub/following{/other_user}","gists_url":"https://api.github.com/users/ihhub/gists{/gist_id}","starred_url":"https://api.github.com/users/ihhub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihhub/subscriptions","organizations_url":"https://api.github.com/users/ihhub/orgs","repos_url":"https://api.github.com/users/ihhub/repos","events_url":"https://api.github.com/users/ihhub/events{/privacy}","received_events_url":"https://api.github.com/users/ihhub/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ihhub/penguinV/labels/gui","name":"gui","color":"d93f0b"},{"url":"https://api.github.com/repos/ihhub/penguinV/labels/hacktoberfest","name":"hacktoberfest","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-28T07:02:37Z","updated_at":"2016-10-04T07:30:26Z","closed_at":null,"body":"It is image processing library so people would like to see examples with GUI. Need simple resizing window able to draw an image [gray-scale and/or color] and simple drawings for following systems:\r\n- Windows (Win32 Api is preferable)\r\n- Linux\r\n- Android\r\n- iOS\r\n- QT framework (OS independent)\r\n\r\nExample code must be as easy as possible and at the same time it is good to have an option to build without framework or specific tools (not everyone has QT for example).\r\n\r\nExample code should follow structure: load image from drive --> show --> wait for user response --> do something on image --> show image\r\n\r\nThis is simple structure how gui object (window) could look like:\r\n```cpp\r\nclass GuiWindow\r\n{\r\npublic:\r\n    GuiWindow(const std::string & caption) { };\r\n    virtual ~GuiWindow() { };\r\n\r\n    virtual void show() = 0;\r\n\r\n    virtual void resize( uint32_t width, uint32_t height ) = 0; // resize window\r\n    virtual void draw( const Bitmap_Image::Image & image ) = 0; // draw an image\r\n    virtual void wait(uint32_t timeMs) = 0; // wait for event. If time is not 0 then wait for specified time\r\n                                                                  // otherwise any user response such as mouse click or key press\r\nprivate:\r\n\tstd::string _caption;\r\n};\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ihhub/penguinV/issues/comments/251314676","html_url":"https://github.com/ihhub/penguinV/issues/1#issuecomment-251314676","issue_url":"https://api.github.com/repos/ihhub/penguinV/issues/1","id":251314676,"user":{"login":"ihhub","id":19829520,"avatar_url":"https://avatars.githubusercontent.com/u/19829520?v=3","gravatar_id":"","url":"https://api.github.com/users/ihhub","html_url":"https://github.com/ihhub","followers_url":"https://api.github.com/users/ihhub/followers","following_url":"https://api.github.com/users/ihhub/following{/other_user}","gists_url":"https://api.github.com/users/ihhub/gists{/gist_id}","starred_url":"https://api.github.com/users/ihhub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihhub/subscriptions","organizations_url":"https://api.github.com/users/ihhub/orgs","repos_url":"https://api.github.com/users/ihhub/repos","events_url":"https://api.github.com/users/ihhub/events{/privacy}","received_events_url":"https://api.github.com/users/ihhub/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T07:30:26Z","updated_at":"2016-10-04T07:30:26Z","body":"I have added simple example on QT framework without utilizing the wrapper."}}
{"actor":{"display_login":"ihhub"}}