|
wxMaxima
|
Output that changes outside the window doesn't show a wrong frame. More...
#include <wx/app.h>#include <wx/config.h>#include <wx/frame.h>#include <wx/log.h>#include <wx/sizer.h>#include <wx/utils.h>#include "Configuration.h"#include "MathParser.h"#include "cells/CellList.h"#include "cells/GroupCell.h"#include "worksheet/Worksheet.h"#include <catch2/catch.hpp>Data Structures | |
| class | TestApp |
Functions | |
| SCENARIO ("A paint that runs the pending layout pass draws at the scroll " "position that pass leaves") | |
| SCENARIO ("A change below the window doesn't repaint it") | |
| wxDECLARE_APP (TestApp) | |
| int | main (int argc, char **argv) |
Output that changes outside the window doesn't show a wrong frame.
When output above the view grows, the layout pass scrolls by the same amount so that what is on screen stays put. A paint that ran that pass itself used to have its DC set up for the scroll position from before it, and drew the new layout shifted for one frame. And a change that starts below the window used to repaint the whole window for nothing.
Needs a real, shown window (run under xvfb); no Maxima.