| 25 | #include "drawable_mgr.h" |
| 26 | |
| 27 | Frame::Frame() : |
| 28 | Drawable(Priority_Frame) |
| 29 | { |
| 30 | if (!lcf::Data::system.frame_name.empty() && lcf::Data::system.show_frame) { |
| 31 | FileRequestAsync* request = AsyncHandler::RequestFile("Frame", lcf::Data::system.frame_name); |
| 32 | request->SetGraphicFile(true); |
| 33 | request_id = request->Bind(&Frame::OnFrameGraphicReady, this); |
| 34 | request->Start(); |
| 35 | } |
| 36 | |
| 37 | DrawableMgr::Register(this); |
| 38 | } |
| 39 | |
| 40 | void Frame::Update() { |
| 41 | // no-op |
nothing calls this directly
no test coverage detected