1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 02:25:28 +03:00
Commit Graph

762 Commits

Author SHA1 Message Date
Wez Furlong
29e3dce2c6 query the dpi for the context 2019-09-15 19:09:08 -07:00
Wez Furlong
cf586cd1d3 use BeginPaint 2019-09-15 19:09:08 -07:00
Wez Furlong
311760df90 introduce a paint context trait 2019-09-15 19:09:08 -07:00
Wez Furlong
a88f0f1beb improve performance for clear operations 2019-09-15 19:09:08 -07:00
Wez Furlong
de7446b172 add beginnings of painting 2019-09-15 19:09:08 -07:00
Wez Furlong
f2928053aa resurrect bitmap render code from 236960e1a8
Earlier in the life of wezterm we had software rendering in src/xgfx.rs.
This is the bitmap portion of that code from rev
236960e1a8, tweaked slightly for more
recent changes to the palette crate.
2019-09-15 19:09:08 -07:00
Wez Furlong
f8e36b22eb window: tidy up crate deps 2019-09-15 19:09:08 -07:00
Wez Furlong
723b76a5ea DRY: use Option so we only call DefWindowProc once 2019-09-15 19:09:08 -07:00
Wez Furlong
f908d6aad3 add destroy callback 2019-09-15 19:09:08 -07:00
Wez Furlong
f678d02193 use dark mode 2019-09-15 19:09:08 -07:00
Wez Furlong
3b572cb35e add window callback trait 2019-09-15 19:09:08 -07:00
Wez Furlong
276041a1db add very basic win32 window creation 2019-09-15 19:09:08 -07:00