53 Commits

Author SHA1 Message Date
7623a85e4e make GUI resizable 2014-06-24 21:40:56 -04:00
da2bf02922 include string.h in GLTexture.cc 2014-06-24 18:31:24 -04:00
33242af038 Font: fix glyph vertex and texture coordinates 2014-06-24 09:29:28 -04:00
eb72558cf7 add GLTexture class; use from Font::Glyph 2014-06-24 09:18:13 -04:00
89849c561a Font::render(): bind buffer before setting vertex attribute pointer 2014-06-24 08:40:27 -04:00
98a27bd20b build glyph bitmap position into its VBO coordinates 2014-06-23 16:35:39 -04:00
f75cd9d4ad rename GLProgram::operator[]() to GLProgram::get_uniform() 2014-06-23 16:24:00 -04:00
5403d13f6a rename Font::operator[]() to Font::get_glyph() 2014-06-23 16:23:40 -04:00
d7f7dbdc28 rename Font::draw() to Font::render() 2014-06-23 16:23:23 -04:00
5558eec534 add GLShader::create() which takes a PathRef 2014-06-23 16:11:20 -04:00
d54e772803 add Path::read() 2014-06-23 15:59:38 -04:00
08979cef45 add FileReader class 2014-06-23 15:57:07 -04:00
975c393b1d JES_Init() should be static inline 2014-06-23 15:56:31 -04:00
f7937c1bea rename FileReader to FileLoader 2014-06-23 15:46:56 -04:00
1d049b5f27 Ref: add operator==(), operator!=() 2014-06-23 15:07:19 -04:00
21aa8543ac Font: add operator[](), get_baseline_offset() 2014-06-23 14:43:38 -04:00
da73f62845 compute Font advance from that of "x" glyph 2014-06-23 14:26:48 -04:00
91e6988fce add Font::Glyph class 2014-06-23 14:23:34 -04:00
959a2571af add Font::get_line_height() 2014-06-23 13:08:29 -04:00
77022ae0b5 fix reading files without performing newline conversion on Windows 2014-06-23 11:51:08 -04:00
dfbbd04862 add FontManager::get_mono_font() 2014-06-22 21:25:50 -04:00
076e2a51d7 fix Runtime::locate() to calculate proper runtime directory 2014-06-22 21:24:46 -04:00
bdd28ab362 updates to Runtime::locate(), FontManager, and GUI loading 2014-06-22 21:16:08 -04:00
cae4b077d9 fix Path::ext() when new_ext == "" 2014-06-22 21:01:38 -04:00
a1e9c30af2 add Path::ext() 2014-06-22 20:36:54 -04:00
87c3abe0fa add GLShader and GLProgram 2014-06-22 16:46:59 -04:00
f94b754b0a Path::dirname() and Path::join() return PathRef 2014-06-22 16:08:40 -04:00
6a51c5a880 fill in Runtime::locate() 2014-06-22 16:02:40 -04:00
c001fca012 add Path::dir_entries() 2014-06-22 15:42:26 -04:00
e3cb7b15b4 add Path::exists() 2014-06-22 15:30:05 -04:00
b55d8d0f09 Core: store bin path as a Path instead of a std::string 2014-06-22 15:12:43 -04:00
49ccad5ed4 implement Path::dirname() 2014-06-19 00:01:10 -04:00
eb12420155 implement Path::join() 2014-06-18 23:49:04 -04:00
28ed5a30a4 add Path::to_s() 2014-06-18 20:07:07 -04:00
28b05da01c add initial Path class 2014-06-18 20:03:50 -04:00
83553e78f1 add jes.h, Core, and Runtime 2014-06-18 19:53:23 -04:00
c23ff6c0ac set return code from GUI::run() 2014-06-18 18:39:30 -04:00
27a167e97d Font: add constructor/destructor 2014-06-15 20:37:31 -04:00
6767062155 add GUI class 2014-06-10 21:58:23 -04:00
dc47bf5256 add FontManager::load_font() 2014-06-10 21:33:11 -04:00
d9261409e0 ignore return value of SDL_GL_CreateContext 2014-06-10 21:24:50 -04:00
7eba046aa4 add FontManager, Font classes 2014-06-10 21:23:58 -04:00
4b159037c1 add skeleton gui sources 2014-06-10 20:00:51 -04:00
ad1b8f4e96 fix compilation warning in Text::[] 2014-06-10 19:24:22 -04:00
6ec2a1584d add Text::to_s() for testing 2014-06-05 20:01:15 -04:00
eb1474bd84 FileReader: fix num_lines() 2014-06-05 17:14:42 -04:00
096139a40d FileReader::create Text objects 2014-06-05 16:20:27 -04:00
39aa6bbd42 implement initial Text functionality 2014-06-05 16:08:19 -04:00
346dbaa783 FileReader: read lines from file buffer, detect line endings 2014-06-05 15:37:03 -04:00
af5df42bbc begin implementing FileReader 2014-06-04 22:09:57 -04:00