还是一堆bug的状态
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#include "Explicit_Plot_p.h"
|
||||
|
||||
namespace renderive {
|
||||
|
||||
Explicit_Plot_Private::Explicit_Plot_Private()
|
||||
: Abs_Plot_Private(std::make_unique<Explicit_Refresh_Strategy>()) {
|
||||
explicit_strategy = static_cast<Explicit_Refresh_Strategy*>(strategy);
|
||||
}
|
||||
|
||||
Explicit_Plot::Explicit_Plot()
|
||||
: Abs_Plot(new Explicit_Plot_Private()) {}
|
||||
|
||||
void Explicit_Plot::replot() {
|
||||
auto* data = static_cast<Explicit_Plot_Private*>(d);
|
||||
if (data->explicit_strategy) {
|
||||
data->explicit_strategy->request_render();
|
||||
data->core->request_manual_refresh();
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace renderive
|
||||
Reference in New Issue
Block a user