Commit graph

  • a3fb19fe9c Use fooEvent() type names for the virtual event handlers. Andreas Kling 2018-10-13 22:51:50 +02:00
  • dfb70ed234 Start working on a simple TextBox widget. Andreas Kling 2018-10-13 22:46:34 +02:00
  • 6f1b384cde More work on focus. Andreas Kling 2018-10-13 20:59:25 +02:00
  • 1929cb6b71 Implement basic focus. Andreas Kling 2018-10-13 17:52:47 +02:00
  • 44a32039be Let the WindowManager track the active window. Andreas Kling 2018-10-13 17:42:24 +02:00
  • 560405667e Start using WeakPtr for some of the WindowManager window pointers. Andreas Kling 2018-10-13 17:00:45 +02:00
  • 16fff6dff7 Add a root .gitignore. Andreas Kling 2018-10-13 17:00:27 +02:00
  • 3e9a45d7f4 Add WeakPtr/Weakable templates. Andreas Kling 2018-10-13 15:41:24 +02:00
  • b7efd92937 Make SinglyLinkedList destruction actually work. Andreas Kling 2018-10-13 14:29:00 +02:00
  • 6ea8ce500c Use HashMap::remove() in some places that I wanted it. Andreas Kling 2018-10-13 14:26:37 +02:00
  • 969334505d Add HashMap::remove(). Andreas Kling 2018-10-13 14:23:47 +02:00
  • c2ef54c044 Add HashTable::remove() and fix a bug where ConstIterator would skip the first. Andreas Kling 2018-10-13 14:22:09 +02:00
  • f794190de0 Add a DoublyLinkedList template and start using it for HashTable. Andreas Kling 2018-10-13 13:50:44 +02:00
  • 9a387d96da Use Vector::remove() in a place I wished I had it earlier. Andreas Kling 2018-10-13 01:19:25 +02:00
  • 7777c8844b Add Vector::remove(). Andreas Kling 2018-10-13 01:17:36 +02:00
  • 750b27cb07 Ext2FileSystem::readInode() should return an empty buffer for 0-length files. Andreas Kling 2018-10-13 00:49:52 +02:00
  • c2d42710bb Fix build. Andreas Kling 2018-10-13 00:44:54 +02:00
  • f20977c65f Add a basic Listbox widget. Andreas Kling 2018-10-13 00:20:44 +02:00
  • 8016139430 Improve the "k" in Peanut8x10 a bit. Andreas Kling 2018-10-12 23:12:17 +02:00
  • e16d145cb4 Some color cleanup. Andreas Kling 2018-10-12 23:02:23 +02:00
  • aceedaf957 Clip Painter operations to the screen rect. Andreas Kling 2018-10-12 22:50:28 +02:00
  • b5ff34174d Label should respect background/foreground color. Andreas Kling 2018-10-12 21:00:17 +02:00
  • 1df47d3ed5 Set KeyEvent modifier bits from SDL key event. Andreas Kling 2018-10-12 20:56:22 +02:00
  • b999a77d0f Improve KeyEvent a bit. Andreas Kling 2018-10-12 20:55:06 +02:00
  • fb4ae12bc2 Add a visual bell to TerminalWidget. Also backspace. Andreas Kling 2018-10-12 20:05:11 +02:00
  • 20a1795218 Improve CheckBox style a bit. Andreas Kling 2018-10-12 19:47:20 +02:00
  • 6f9e0e3876 After moving a window, try to repaint a bit less. Andreas Kling 2018-10-12 19:39:48 +02:00
  • 74aa4d5345 Fix CheckBox caption position. Andreas Kling 2018-10-12 17:00:51 +02:00
  • ff0ce2b921 Painter::TextAlignment::Center vertical fix. Andreas Kling 2018-10-12 16:57:43 +02:00
  • 0dcdbe3e03 Make buttons pressable. Andreas Kling 2018-10-12 15:52:41 +02:00
  • 5412dac05d Paint Button in a very Windows 3-ish style. Andreas Kling 2018-10-12 14:58:16 +02:00
  • 16576112b0 Add a CheckBox widget. Andreas Kling 2018-10-12 14:15:14 +02:00
  • c7463aad11 Add a CBitmap class. The C is for Courage. Andreas Kling 2018-10-12 12:49:45 +02:00
  • e23ac56017 Add a Painter::drawBitmap() and make Painter::drawText() use it. Andreas Kling 2018-10-12 12:29:58 +02:00
  • 73895ce043 Add a clock widget. Andreas Kling 2018-10-12 12:18:59 +02:00
  • 6637dec958 Put the font test into its own Window. Andreas Kling 2018-10-12 10:06:50 +02:00
  • 6f6f9bd84d Window contents move along with the window! Andreas Kling 2018-10-12 02:41:27 +02:00
  • 64127e0637 Very hacky support for dragging a window around. Andreas Kling 2018-10-12 02:24:05 +02:00
  • 22721e6729 The WindowManager can now react to mouse events on the window title bar. Andreas Kling 2018-10-12 01:48:18 +02:00
  • 5d125e40d9 Deliver mouse events to the appropriate Window. Andreas Kling 2018-10-12 01:26:20 +02:00
  • f2fa7b615f Small refactor. Andreas Kling 2018-10-12 01:20:06 +02:00
  • 02f4d6ef8e Move windowing stuff from AbstractScreen to WindowManager. Andreas Kling 2018-10-12 01:10:16 +02:00
  • 415c4b90c5 Start adding a Window class. Andreas Kling 2018-10-12 01:03:22 +02:00
  • bd6172e3c7 Use Font in more places. Andreas Kling 2018-10-11 23:54:34 +02:00
  • 110d01941a Add a simple Font class. Andreas Kling 2018-10-11 23:45:57 +02:00
  • a6e0577f30 Some work on window decorations. Andreas Kling 2018-10-11 23:14:51 +02:00
  • a4491e9630 More hacking on Widgets. Andreas Kling 2018-10-11 16:52:40 +02:00
  • c37ded0ae4 Support arbitrary pointer traits. Andreas Kling 2018-10-11 16:52:30 +02:00
  • 5e5f5f60e3 Tweaks to Peanut8x10. Andreas Kling 2018-10-11 14:50:38 +02:00
  • 7df67570e6 Make an 8x10 version of Peanut. It looks a bit nicer I think. Andreas Kling 2018-10-11 14:44:27 +02:00
  • ab5266b924 Rage hacking on TerminalWidget. Andreas Kling 2018-10-11 12:33:03 +02:00
  • f282df6617 AK::Buffer should not free unowned backing stores, duh. Andreas Kling 2018-10-11 12:30:35 +02:00
  • 0abc19b0ff Dispatch MouseUp events with SDL. Andreas Kling 2018-10-11 02:55:02 +02:00
  • c61cbf4234 Start poking at a TerminalWidget. Andreas Kling 2018-10-11 02:50:08 +02:00
  • f337616741 More hacking on Widgets. Andreas Kling 2018-10-11 01:48:09 +02:00
  • aee66e0119 Avoid modifying Object::m_children while iterating it. Andreas Kling 2018-10-11 01:00:15 +02:00
  • e810120260 Peanut8x8 can paint all the ASCII characters! Andreas Kling 2018-10-11 00:56:28 +02:00
  • cb64ff229a More work on the bitmap font. Andreas Kling 2018-10-11 00:10:36 +02:00
  • 77bac7216c More rage hacking on Widgets. Some very basic text drawing. :^) Andreas Kling 2018-10-10 20:06:58 +02:00
  • 6f37429f57 Intense hacking on Widgets. Andreas Kling 2018-10-10 16:49:36 +02:00
  • 8c84f9749e Start working on a Widgets library. Andreas Kling 2018-10-10 15:12:38 +02:00
  • a181a8f6e7 Run without SimpleMalloc locally for now. Andreas Kling 2018-10-10 15:11:43 +02:00
  • 0dac2c2b7f Add a cool banner. Andreas Kling 2018-10-10 13:17:45 +02:00
  • 5a30055157 Import all this stuff into a single repo called Serenity. Andreas Kling 2018-10-10 11:53:07 +02:00