Commit Graph

536 Commits

Author SHA1 Message Date
faiface abcdff5960 fix typo in Text doc 2017-05-09 16:34:54 +02:00
faiface dc3f9857d8 minor change in Text doc 2017-05-09 16:34:13 +02:00
faiface dd6d38b8f3 minor change in Atlas doc 2017-05-09 16:32:29 +02:00
faiface 46122dd826 clarify doc 2017-05-09 16:31:09 +02:00
faiface c8114d8467 add Text doc 2017-05-09 16:27:55 +02:00
faiface f58676289a minor change 2017-05-09 15:26:50 +02:00
faiface 80735cfc0c add Atlas doc 2017-05-09 15:25:08 +02:00
faiface dcdc812af5 don't cache kerning in Atlas (too expensive and no benefit) 2017-05-09 15:10:35 +02:00
faiface 248d68f6aa improve Atlas creation, atlas is now square picture (was one row of characters) 2017-05-09 14:20:34 +02:00
faiface 3841afb70f fix PictureDataFromImage (wrong bounds when Min not (0, 0)) 2017-05-09 01:04:04 +02:00
faiface 217ac0c4d7 rename Text.LineHeight(scale) -> height, since now it's absolute height 2017-05-07 22:03:56 +02:00
faiface 65236863fe rename Glyph.Orig -> Dot 2017-05-07 21:49:26 +02:00
faiface cfaff8c0cb minor change 2017-05-07 21:12:48 +02:00
faiface 2d1f61f746 improve Text code 2017-05-07 21:08:10 +02:00
faiface 883bdc32c7 add Text.BoundsOf 2017-05-07 21:00:19 +02:00
faiface c9eea2639e restructure Text writing for more flexibility and consistency 2017-05-07 20:59:56 +02:00
faiface 5b524dadd8 add Atlas.DrawRune 2017-05-07 20:59:41 +02:00
faiface a86876a1cd Merge branch 'dev' into text 2017-05-06 22:58:36 +02:00
faiface 29785fb937 IMDraw: change default point color to (1, 1, 1, 1) (was (0, 0, 0, 0)) 2017-05-06 22:57:55 +02:00
faiface 1d17e45825 fix Text.Bounds 2017-05-05 16:42:40 +02:00
faiface b91d8be6cd remove Batch from Text and optimize it 2017-05-05 16:13:26 +02:00
faiface c47d77b2b5 add Text.Bounds, Atlas.Ascent, Atlas.Descent 2017-05-05 16:02:47 +02:00
faiface e9a3c900cf add Rect.Union 2017-05-05 15:43:24 +02:00
faiface 3d3cbd6027 fix Text.Color 2017-05-04 22:30:18 +02:00
faiface 4e6d6eeb3a move Atlas type to a separate file 2017-05-03 23:59:37 +02:00
faiface 17ddf4fec5 change Text.LineHeight to use actual units instead of scale (such as 1.5) 2017-05-03 23:57:09 +02:00
faiface e1e1815537 add Text.Atlas (Atlas has some useful stuff, e.g. line height) 2017-05-03 23:55:44 +02:00
faiface a05abdca76 add Text.WriteByte 2017-05-03 23:55:10 +02:00
faiface 317124058e export Atlas from text package + add Text.WriteRune and Text.WriteString 2017-05-03 23:54:24 +02:00
faiface 3b1e0eaa21 add Text.SetMatrix and Text.SetColorMask 2017-05-03 21:48:05 +02:00
faiface 6a7500959f add Text.LineHeight and text.TabWidth 2017-05-03 21:04:18 +02:00
faiface e2a16764c4 add Text.Orig (start of the text) 2017-05-03 20:56:06 +02:00
faiface 424b6e0f0b optimize Text.Write (remove one allocation) 2017-05-03 00:13:39 +02:00
faiface bc145eb1b8 add incomplete Text type in text package 2017-05-02 22:46:51 +02:00
faiface 5303ec5648 optimize Drawer.Dirty (defer the hard part until drawing) 2017-05-02 22:46:27 +02:00
faiface f7dad2f3c2 strikethrough advanced window manipulation mssing feature 2017-05-02 01:15:33 +02:00
faiface 3b5bfa90e6 fix creating window with no icon 2017-05-01 12:18:23 +02:00
faiface dff622523b just align doc comment to 100 chars per line 2017-05-01 01:38:57 +02:00
Michal Štrba 51a9702fc8 Merge pull request #14 from otraore/set-icon
Add support for setting an icon of a window
2017-05-01 01:33:59 +02:00
Ousmane Traore f7bb304b92 Set value rather than append 2017-04-30 19:30:11 -04:00
Ousmane Traore 5efd04b420 Address review comments 2017-04-30 18:43:05 -04:00
Ousmane Traore ea7bc5aff9 Add Icons paramter to window config 2017-04-30 17:19:51 -04:00
faiface 7b8a0c152e fix Window.CursorVisible intial value (was false) 2017-04-30 20:42:25 +02:00
Michal Štrba 2115296062 Merge pull request #13 from otraore/hide-cursor
Add ability to hide the cursor
2017-04-30 18:50:43 +02:00
Ousmane Traore dc745825d6 Address review comments 2017-04-30 12:33:27 -04:00
Ousmane Traore 29fe3b16ca Add ability to hide the cursor 2017-04-30 10:40:31 -04:00
faiface d37ad8f1ba fix two typos in comments in platformer example 2017-04-28 18:11:29 +02:00
faiface 85ba21a2f4 add Canvas.SetPixels and Canvas.Pixels methods 2017-04-28 13:24:30 +02:00
faiface 915faeee0c merge dev branch 2017-04-26 23:16:34 +02:00
faiface 113d052872 fix link in readme 2017-04-26 23:15:08 +02:00