Commit Graph

158 Commits

Author SHA1 Message Date
Jonathan Daugherty
e9c587189d Layer demo: improve layout of event handler to make layer handling distinction clearer 2015-07-03 16:04:23 -07:00
Jonathan Daugherty
32c82d0754 Update rogue demo to translate the player rather than using spaces to center it to avoid layer opacity issues 2015-07-03 16:02:35 -07:00
Jonathan Daugherty
149ab2d58b Add a layer demo program 2015-07-03 15:49:33 -07:00
Jonathan Daugherty
2ba4f822e6 List demo: make items smaller to avoid pointless performance meltdown 2015-07-03 14:23:35 -07:00
Jonathan Daugherty
e3c46bbf41 Add a benchmark for hCenter 2015-07-03 14:05:07 -07:00
Jonathan Daugherty
afc0c95be8 Flip the arguments to application event handlers to make event pattern-matching more natural 2015-07-01 13:05:28 -07:00
Jonathan Daugherty
2942514198 SuspendAndResumeDemo: remove stale/testing getLine at end of main 2015-07-01 09:12:22 -07:00
Jonathan Daugherty
f9ae799f9b Merge branch 'master' of github.com:jtdaugherty/brick 2015-06-30 19:18:54 -07:00
Jonathan Daugherty
9601098d46 Add appStartEvent to support getting scroll requests on the first rendering of the app state before other events have arrived 2015-06-30 19:15:29 -07:00
Jonathan Daugherty
0bb91a73bf EditDemo: syntax nit 2015-06-30 10:07:53 -07:00
Jonathan Daugherty
8689dd6947 Add a suspend/resume demo program 2015-06-28 23:45:04 -07:00
Jonathan Daugherty
64a1e3edf5 Remove pointless padding operations from full UI in padding demo 2015-06-28 23:07:32 -07:00
Jonathan Daugherty
aac772d573 Remove stale fill benchmarks 2015-06-28 23:05:25 -07:00
Jonathan Daugherty
c763aa1761 Replace directional fills with padding combinators, add padding demo program 2015-06-28 23:04:27 -07:00
Jonathan Daugherty
6a1160c111 Rename event demo 2015-06-28 22:43:52 -07:00
Jonathan Daugherty
7aa4e264a4 Add attribute handling demo program 2015-06-28 22:40:25 -07:00
Jonathan Daugherty
2e3bef7f8e Add resizeOrQuit for easy simple event handling 2015-06-28 22:40:12 -07:00
Jonathan Daugherty
52bf9ec288 Clean up attribute management combinators, use attribute names instead of attributes 2015-06-28 22:08:54 -07:00
Jonathan Daugherty
9ec2d7eb7b Border: add function to build border style from a character 2015-06-28 21:28:55 -07:00
Jonathan Daugherty
8d93c71f03 Expand box benchmarks 2015-06-28 21:04:57 -07:00
Jonathan Daugherty
e2cfcb3b9f Add beginnings of a benchmark suite 2015-06-28 21:00:46 -07:00
Jonathan Daugherty
349d682512 Use more explicit imports in markup demo 2015-06-28 20:18:59 -07:00
Jonathan Daugherty
47da95a36b Add markup demo 2015-06-28 20:16:51 -07:00
Jonathan Daugherty
0faa130f13 List demo improvements 2015-06-28 20:05:30 -07:00
Jonathan Daugherty
6c762fb95b Simplify edit demo application state 2015-06-28 13:24:36 -07:00
Jonathan Daugherty
34e14bf1dd Simplify list demo application state 2015-06-28 13:22:05 -07:00
Jonathan Daugherty
549c4b8663 Improve list demo 2015-06-28 13:15:15 -07:00
Jonathan Daugherty
dc5b8f51e2 Add list demo 2015-06-28 13:06:22 -07:00
Jonathan Daugherty
4f55085a1a Make simpleMain interface as simple as possible 2015-06-28 12:48:39 -07:00
Jonathan Daugherty
7461901679 Add editor demo 2015-06-28 12:45:26 -07:00
Jonathan Daugherty
e24f2c438e Rename minimal demo to hello world demo 2015-06-28 12:37:24 -07:00
Jonathan Daugherty
a1a7a4d5f0 Simplify minimal demo 2015-06-28 12:36:16 -07:00
Jonathan Daugherty
2857be7b10 Rename event demo 2015-06-28 12:34:39 -07:00
Jonathan Daugherty
6cbe25962a Add custom style to border demo 2015-06-28 12:31:44 -07:00
Jonathan Daugherty
141586a086 Minor border demo improvements 2015-06-28 12:25:21 -07:00
Jonathan Daugherty
b643cd9249 Minor border demo improvement 2015-06-28 12:21:58 -07:00
Jonathan Daugherty
6bee7578d9 Minor border demo improvements 2015-06-28 12:21:44 -07:00
Jonathan Daugherty
4f3039b093 Update border demo to show all border features 2015-06-28 12:20:40 -07:00
Jonathan Daugherty
ffbf2d89c6 Add demonstration program for borders 2015-06-28 12:15:55 -07:00
Jonathan Daugherty
700081f7cd Change list/edit lens naming convention to use L suffix
- Lenses for edit and list widgets now have L suffixes, e.g.
  editorNameL
- Non-lens equivalents for edit and list field accessors are now
  exported for non-lens use cases
- suffixLenses is added as an alternative to makeLenses for building
  these lenses
2015-06-28 11:57:38 -07:00
Jonathan Daugherty
0ba00780c0 Add TerminalLocation interface for Location-like things and use it 2015-06-28 11:35:28 -07:00
Jonathan Daugherty
a4ed1dda89 Make editor fields lenses and export them 2015-06-28 11:20:53 -07:00
Jonathan Daugherty
af4ff1dfe1 Rename editStr to editContents 2015-06-28 11:13:04 -07:00
Jonathan Daugherty
4e9de7c80c Make editor interface consistent with list by accepting a content drawing function 2015-06-28 11:02:18 -07:00
Jonathan Daugherty
3bcc144114 Make list fields lenses and export them 2015-06-28 10:58:54 -07:00
Jonathan Daugherty
d49423cc4f Get rid of box rendering priority in favor of using size hints to control rendering order 2015-06-27 16:34:45 -07:00
Jonathan Daugherty
adbcbf72b0 Use text instead of padding in demo 2015-06-27 15:25:19 -07:00
Jonathan Daugherty
6ffc25af75 Rename appMakeEvent 2015-06-25 23:42:52 -07:00
Jonathan Daugherty
585d068364 Add demo program showing how to use custom events 2015-06-25 23:34:20 -07:00
Jonathan Daugherty
552e765ec2 Make main customizable by specifying the event channel 2015-06-25 23:22:22 -07:00