Wez Furlong
|
190303c7d5
|
more explicit dyn for windows
|
2019-09-23 06:46:56 -07:00 |
|
Wez Furlong
|
8e38f34b6d
|
fix a couple of warnings
|
2019-09-22 21:02:02 -07:00 |
|
Wez Furlong
|
ed90a1487d
|
scroll wheel events on macos
|
2019-09-22 15:51:33 -07:00 |
|
Wez Furlong
|
2afb2810cc
|
plumb mouse events for software frontend
|
2019-09-22 13:43:30 -07:00 |
|
Wez Furlong
|
ec280a54f8
|
incomplete but functional key input for software frontend
|
2019-09-22 10:25:31 -07:00 |
|
Wez Furlong
|
4de30373b6
|
tidy up window/tab closing and quitting for software frontend
|
2019-09-22 08:38:35 -07:00 |
|
Wez Furlong
|
88d15e18af
|
factor our underline/strikethrough metrics for software render
|
2019-09-22 08:26:54 -07:00 |
|
Wez Furlong
|
ccb27b3422
|
fixup a few warnings
|
2019-09-22 08:21:36 -07:00 |
|
Wez Furlong
|
68f81e23f7
|
software render can now render basic glyphs
|
2019-09-22 08:12:52 -07:00 |
|
Wez Furlong
|
f17824994f
|
window: add basic timer functionality
We need this to poll the model and invalidate the gui so that it
can repaint as the child process emits output
|
2019-09-21 22:16:27 -07:00 |
|
Wez Furlong
|
a58a0be632
|
wire up basic cursor and background color for software render frontend
|
2019-09-21 17:32:19 -07:00 |
|
Wez Furlong
|
0d7d438270
|
separate Sprite and SpriteSlice impls
|
2019-09-21 14:25:12 -07:00 |
|
Wez Furlong
|
86ba590ead
|
fixup some missing dyn
|
2019-09-21 13:36:15 -07:00 |
|
Wez Furlong
|
fb5cbb5827
|
fixup x11 build for euclid point/rect changes
|
2019-09-21 13:33:21 -07:00 |
|
Wez Furlong
|
a236cf6c08
|
fixup for euclid + rect/point/draw_line changes
|
2019-09-21 13:16:23 -07:00 |
|
Wez Furlong
|
709990b9e7
|
use euclid crate for point/rect
|
2019-09-21 13:05:50 -07:00 |
|
Wez Furlong
|
c7c25025ed
|
upgrade euclid dep
|
2019-09-21 12:32:21 -07:00 |
|
Wez Furlong
|
3dce78bd9c
|
copy and adapt our opengl texture atlas code for the window crate
|
2019-09-21 09:00:08 -07:00 |
|
Wez Furlong
|
1950843de4
|
these rect methods should have been public
|
2019-09-21 08:03:14 -07:00 |
|
Wez Furlong
|
4e62b59628
|
rediscover the Rect type for x11 and consolidate
|
2019-09-21 08:01:31 -07:00 |
|
Wez Furlong
|
050dde6b4f
|
clean up draw_image api
|
2019-09-21 07:44:28 -07:00 |
|
Wez Furlong
|
896586809f
|
add Rect::bottom_right
|
2019-09-21 07:31:44 -07:00 |
|
Wez Furlong
|
6d902d8a39
|
introduce a Rect type
|
2019-09-21 00:19:31 -07:00 |
|
Wez Furlong
|
c19b7db705
|
fill software window background with black
|
2019-09-15 19:43:32 -07:00 |
|
Wez Furlong
|
1c8ba615f3
|
fix build on macos
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
2ace5c7bb4
|
fixup wezterm compilation for window changes
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
ce102d36b3
|
improve conditional use statements
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
fa54f02b27
|
fixup macos compilation
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
96c9633539
|
on windows, the windows map Mutex -> RefCell
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
f793b36ff0
|
spawning async tasks now impl on all platforms
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
3d379791c8
|
refactor SpawnQueue on macos
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
6e8424a92d
|
refactor SpawnQueue on windows and x11
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
7128e3e7cc
|
compile on windows again
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
d4cafefb87
|
make the basic example build again on x11
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
cabb9d155c
|
see if we can DRY around some cross platform stuff, baby step
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
9a2037e846
|
fix some warnings
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
bdc634276d
|
plumbing for polling std::future::futures on macos
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
6047229bf2
|
potentially make our promise/future crate await compatible
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
6d23be0164
|
use Image to generate underline glyphs
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
e98b29aec6
|
add apply function to safely access inner data
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
d69938701c
|
macos: cache the bitmap buffer across draw_rect calls
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
a4405ba60d
|
macos: plumb changing the cursor
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
5f547b6972
|
macos: allow changing window title
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
d8b143776d
|
plumb WindowOps for macos
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
0f25545014
|
decode key inputs
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
5f7d2f5ccc
|
basic plumbing for mouse input on macos
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
57992c0570
|
add resize handler for macos
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
8ae35f5b01
|
Arc -> Rc for macos
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
da90ad7ec6
|
fix byteorder for bitmaps on macos
|
2019-09-15 19:09:08 -07:00 |
|
Wez Furlong
|
0b7556893d
|
bunch of plumbing to allow using new window layer as software rendered frontend
|
2019-09-15 19:09:08 -07:00 |
|