Comments (4)
// This is a case where we could have use redrawView, but it
// currently does not take into consideration a global state of
// affected areas, which we probably should review.
//
// At least we should have a refresh version that does not queue
// a setNeedsDisplay. Also see postProcessEvent, it worked
// in the previous era where the Toplevels would consume the whole
// screen and full obscure the back, but we should cross those
// boundaries and repaint even those.
from termkit.
Idea that I have been mulling around:
Implemented: Toplevels would contain the backing store for the drawn operations, and views retain their existing redraw logic. This means that not every view would need a backing store that needs to be composed. Only toplevels get composed.
from termkit.
Update:
I now have a backingstore
branch with the above idea, and it works.
Some issues that still need work and research:
The code is still redoing full screen redraws, rather than the affected region in generalWhen coming back from the dialog box, and moving in the selector, the tiny window borders in the sample vanish.Dragging a window still leaves a ghost behind, I suspect that is a different kind of issue, not related to the compositing.Small border rendering issue when using the "Dialogs" sample, both on the "Reuslts" box, and when the Dialog opens, on the right side, it does not seem to draw that part.
from termkit.
Fixed
from termkit.
Related Issues (20)
- Mouse events
- Toplevel/Application redesign ideas HOT 1
- TerminalView: add support for mouse events. HOT 1
- Terminal vs main loop HOT 1
- setHasFocus ignores the result from becomeFirstResponder/resignFirstResponder
- Port Control: DateField
- Port control: HexView
- Menus: add support for nested menus.
- New control: StatusBar
- Port Control: TableView HOT 2
- Port Control: TabBarView
- Port Control: TimeField
- Port Control: TreeView
- New control: Sliders
- New Control: ComboBox
- New Control: Split View
- New Control: Popup Menus.
- TextView: tabs are not rendered properly
- TextView: fix selection rendering (start with shift-cursor)
- Characters are not flushed from DataTable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termkit.