{"action":"created","issue":{"url":"https://api.github.com/repos/AlloSphere-Research-Group/AlloSystem/issues/18","labels_url":"https://api.github.com/repos/AlloSphere-Research-Group/AlloSystem/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/AlloSphere-Research-Group/AlloSystem/issues/18/comments","events_url":"https://api.github.com/repos/AlloSphere-Research-Group/AlloSystem/issues/18/events","html_url":"https://github.com/AlloSphere-Research-Group/AlloSystem/issues/18","id":18467458,"number":18,"title":"GLFW for window/input management","user":{"login":"LancePutnam","id":1606111,"avatar_url":"https://avatars.githubusercontent.com/u/1606111?v=3","gravatar_id":"","url":"https://api.github.com/users/LancePutnam","html_url":"https://github.com/LancePutnam","followers_url":"https://api.github.com/users/LancePutnam/followers","following_url":"https://api.github.com/users/LancePutnam/following{/other_user}","gists_url":"https://api.github.com/users/LancePutnam/gists{/gist_id}","starred_url":"https://api.github.com/users/LancePutnam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LancePutnam/subscriptions","organizations_url":"https://api.github.com/users/LancePutnam/orgs","repos_url":"https://api.github.com/users/LancePutnam/repos","events_url":"https://api.github.com/users/LancePutnam/events{/privacy}","received_events_url":"https://api.github.com/users/LancePutnam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AlloSphere-Research-Group/AlloSystem/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"younkhg","id":6813488,"avatar_url":"https://avatars.githubusercontent.com/u/6813488?v=3","gravatar_id":"","url":"https://api.github.com/users/younkhg","html_url":"https://github.com/younkhg","followers_url":"https://api.github.com/users/younkhg/followers","following_url":"https://api.github.com/users/younkhg/following{/other_user}","gists_url":"https://api.github.com/users/younkhg/gists{/gist_id}","starred_url":"https://api.github.com/users/younkhg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/younkhg/subscriptions","organizations_url":"https://api.github.com/users/younkhg/orgs","repos_url":"https://api.github.com/users/younkhg/repos","events_url":"https://api.github.com/users/younkhg/events{/privacy}","received_events_url":"https://api.github.com/users/younkhg/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2013-08-23T12:25:15Z","updated_at":"2015-12-15T12:22:18Z","closed_at":null,"body":"As of version 3.0.1, GLFW (http://www.glfw.org/) supports multiple windows. Support for multiple windows was the main reason we stuck with GLUT for so long, putting up with its many annoyances and limitations. However, now I no longer see any strong arguments for using GLUT as GLFW does everything it can plus more and is actively maintained.\r\n\r\nIt also seems that GLFW plans to add touch support in the future. From its 'touch' branch on github:\r\n\r\n/*! @brief The function signature for touch callbacks.\r\n* @param[in] window The window that received the event.\r\n* @param[in] touch The touch that triggered the event.\r\n* @param[in] action One of @ref GLFW_PRESS, @c GLFW_MOVE or @ref GLFW_RELEASE.\r\n* @param[in] xpos The new x-coordinate of the touch.\r\n* @param[in] ypos The new y-coordinate of the touch.\r\n* @ingroup input\r\n*\r\n* @sa glfwSetTouchCallback\r\n*/\r\ntypedef void (* GLFWtouchfun)(GLFWwindow*,int,int,double,double);\r\n"},"comment":{"url":"https://api.github.com/repos/AlloSphere-Research-Group/AlloSystem/issues/comments/164748653","html_url":"https://github.com/AlloSphere-Research-Group/AlloSystem/issues/18#issuecomment-164748653","issue_url":"https://api.github.com/repos/AlloSphere-Research-Group/AlloSystem/issues/18","id":164748653,"user":{"login":"LancePutnam","id":1606111,"avatar_url":"https://avatars.githubusercontent.com/u/1606111?v=3","gravatar_id":"","url":"https://api.github.com/users/LancePutnam","html_url":"https://github.com/LancePutnam","followers_url":"https://api.github.com/users/LancePutnam/followers","following_url":"https://api.github.com/users/LancePutnam/following{/other_user}","gists_url":"https://api.github.com/users/LancePutnam/gists{/gist_id}","starred_url":"https://api.github.com/users/LancePutnam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LancePutnam/subscriptions","organizations_url":"https://api.github.com/users/LancePutnam/orgs","repos_url":"https://api.github.com/users/LancePutnam/repos","events_url":"https://api.github.com/users/LancePutnam/events{/privacy}","received_events_url":"https://api.github.com/users/LancePutnam/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T12:22:18Z","updated_at":"2015-12-15T12:22:18Z","body":"Is the plan here to replace GLUT? If so, there might be one snag on Linux---APT only has version 2.7.2:\r\n\r\n$ apt-cache show libglfw-dev\r\nPackage: libglfw-dev\r\nPriority: optional\r\nSection: universe/libdevel\r\nInstalled-Size: 199\r\nMaintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>\r\nOriginal-Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>\r\nArchitecture: amd64\r\nSource: glfw\r\nVersion: 2.7.2-1\r\n...\r\n\r\nThus, a manual build is required on Linux.\r\n\r\nFor OSX, I strongly suggest we transition to the native Cocoa implementation I worked on. Otherwise, we add unnecessary layers with GLFW."}}