MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnMatCopyButton

Method OnMatCopyButton

editor/matcenkeypad.cpp:1051–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049}
1050
1051void matcenkeypad::OnMatCopyButton() {
1052 if (MatcenValid(m_matcen_id)) {
1053 MatCopyBuffer = *Matcen[m_matcen_id];
1054 f_copy_buffer_valid = true;
1055 }
1056
1057 UpdateDialog();
1058}
1059
1060void matcenkeypad::OnMatPasteButton() {
1061 if (MatcenValid(m_matcen_id) && f_copy_buffer_valid) {

Callers

nothing calls this directly

Calls 1

MatcenValidFunction · 0.85

Tested by

no test coverage detected