Skip to content

Commit

Permalink
rename recorder to renderer in the guis
Browse files Browse the repository at this point in the history
this is to hopefully avoid confusion between the internal recorder
and just recording a replay
  • Loading branch information
matcool committed Sep 7, 2021
1 parent 53d5801 commit abe7aea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/overlay_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ bool OverlayLayer::init() {
btn->setPosition({win_size.width - 35, -260});
menu->addChild(btn);

addChild(NodeFactory<CCLabelBMFont>::start("Internal Recorder", "bigFont.fnt")
addChild(NodeFactory<CCLabelBMFont>::start("Internal Renderer", "bigFont.fnt")
.setAnchorPoint(ccp(1, 0.5))
.setScale(0.6f)
.setPosition(win_size - ccp(55, 260))
Expand Down
4 changes: 2 additions & 2 deletions src/recorder_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ bool RecorderLayer::init() {
auto toggler = gd::CCMenuItemToggler::create(check_off_sprite, check_on_sprite, this, menu_selector(RecorderLayer::on_toggle_recorder));
toggler->setPosition(top_left + ccp(30.f, -30.f));
toggler->toggle(rs.recorder.m_recording);
auto label = CCLabelBMFont::create("Record", "bigFont.fnt");
auto label = CCLabelBMFont::create("Render", "bigFont.fnt");
label->setPosition(top_left + ccp(55.f, -30.f));
label->setScale(0.7f);
label->setAnchorPoint({0, 0.5f});
Expand All @@ -44,7 +44,7 @@ bool RecorderLayer::init() {
toggler = gd::CCMenuItemToggler::create(check_off_sprite, check_on_sprite, this, menu_selector(RecorderLayer::on_toggle_until_end));
toggler->setPosition(top_left + ccp(30.f, -65.f));
toggler->toggle(rs.recorder.m_until_end);
label = CCLabelBMFont::create("Record until the end", "bigFont.fnt");
label = CCLabelBMFont::create("Render until the end", "bigFont.fnt");
label->setScale(0.7f);
label->setPosition(top_left + ccp(55.f, -65.f));
label->setAnchorPoint({0, 0.5f});
Expand Down

0 comments on commit abe7aea

Please sign in to comment.