ПК
Size: a a a
ПК
AS
R
ObjectBehaviour : public Renderable {
public:
explicit ObjectBehaviour(options_t opt) : object(opt), default_options(opt) {};
void change_default_options(options_t opt) {
default_options(opt);
}
void render(context_t context, const matrix4 &transformation) override {
if (!is_done) {
this->handle_on_render(context);
}
// is_done can change during behaviour handler(!is_done) {
object.render(context, transformation);
}
};
void on_done(const done_handler_t<object_t> &h) {
on_done_handler = h;
};
void on_focus_changed(const focus_change_handler_t<object_t> &h) {
on_focus_changed_handler = h;
}
protected:
object_t object;
options_t default_options;AS
ObjectBehaviour : public Renderable {
public:
explicit ObjectBehaviour(options_t opt) : object(opt), default_options(opt) {};
void change_default_options(options_t opt) {
default_options(opt);
}
void render(context_t context, const matrix4 &transformation) override {
if (!is_done) {
this->handle_on_render(context);
}
// is_done can change during behaviour handler(!is_done) {
object.render(context, transformation);
}
};
void on_done(const done_handler_t<object_t> &h) {
on_done_handler = h;
};
void on_focus_changed(const focus_change_handler_t<object_t> &h) {
on_focus_changed_handler = h;
}
protected:
object_t object;
options_t default_options;D
ObjectBehaviour : public Renderable {
public:
explicit ObjectBehaviour(options_t opt) : object(opt), default_options(opt) {};
void change_default_options(options_t opt) {
default_options(opt);
}
void render(context_t context, const matrix4 &transformation) override {
if (!is_done) {
this->handle_on_render(context);
}
// is_done can change during behaviour handler(!is_done) {
object.render(context, transformation);
}
};
void on_done(const done_handler_t<object_t> &h) {
on_done_handler = h;
};
void on_focus_changed(const focus_change_handler_t<object_t> &h) {
on_focus_changed_handler = h;
}
protected:
object_t object;
options_t default_options;R
АК
ObjectBehaviour : public Renderable {
public:
explicit ObjectBehaviour(options_t opt) : object(opt), default_options(opt) {};
void change_default_options(options_t opt) {
default_options(opt);
}
void render(context_t context, const matrix4 &transformation) override {
if (!is_done) {
this->handle_on_render(context);
}
// is_done can change during behaviour handler(!is_done) {
object.render(context, transformation);
}
};
void on_done(const done_handler_t<object_t> &h) {
on_done_handler = h;
};
void on_focus_changed(const focus_change_handler_t<object_t> &h) {
on_focus_changed_handler = h;
}
protected:
object_t object;
options_t default_options;AS
hh
hh
АК
hh
hh
АЦ
hh
АЦ
hh
АК
hh
LA