// File: /workspace/github_cpp_makefile_star2_O2/phillip-h[P]todo/src/draw.cpp
// Function: drawControls()
void drawControls()
{
    controlWin->clear();
    stringstream line;
    
    controlWin->move(0, 0);
    line << "[" << ((char) EXIT_KEY) << "] quit          ";
    line << "[Space] new task          ";
    line << "[" << ((char) MOVE_UP_KEY) << "] move task up  ";
    controlWin->print(line.str());
    line.str("");

    controlWin->move(0, 1);
    line << "[" << ((char) REMOVE_KEY) << "] delete task   ";
    line << "[Return] mark task done   ";
    line << "[" << ((char) MOVE_DOWN_KEY) << "] move task down  ";
    controlWin->print(line.str());
    line.str("");

    controlWin->color(BORDER_COLOR_PAIR, true);
    controlWin->draw();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1f0, %rsp            # imm = 0x1F0
movq 0x94d8(%rip), %rdi      # 0xf680
callq 0x8ec0
leaq 0x68(%rsp), %rdi
callq 0x3200
movq 0x94c2(%rip), %rdi      # 0xf680
xorl %esi, %esi
xorl %edx, %edx
callq 0x8fb8
leaq 0x78(%rsp), %rbx
leaq 0x42b1(%rip), %rsi      # 0xa484
movq %rbx, %rdi
callq 0x3290
pushq $0x71
popq %rsi
movq %rax, %rdi
callq 0x3330
leaq 0x42c8(%rip), %rsi      # 0xa4b5
movq %rax, %rdi
callq 0x3290
leaq 0x42ca(%rip), %rsi      # 0xa4c6
movq %rbx, %rdi
callq 0x3290
leaq 0x4279(%rip), %rsi      # 0xa484
movq %rbx, %rdi
callq 0x3290
pushq $0x6b
popq %rsi
movq %rax, %rdi
callq 0x3330
leaq 0x42bc(%rip), %rsi      # 0xa4e1
movq %rax, %rdi
callq 0x3290
movq 0x944c(%rip), %r15      # 0xf680
leaq 0x80(%rsp), %r14
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0x3490
leaq 0x48(%rsp), %rsi
movq %r15, %rdi
callq 0x8fc6
leaq 0x48(%rsp), %rdi
callq 0x35a8
leaq 0x422f(%rip), %rsi      # 0xa496
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x50f0
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x3410
leaq 0x8(%rsp), %rdi
callq 0x35a8
movq 0x93ec(%rip), %rdi      # 0xf680
pushq $0x1
popq %rdx
xorl %esi, %esi
callq 0x8fb8
leaq 0x41df(%rip), %rsi      # 0xa484
movq %rbx, %rdi
callq 0x3290
pushq $0x64
popq %rsi
movq %rax, %rdi
callq 0x3330
leaq 0x4233(%rip), %rsi      # 0xa4f2
movq %rax, %rdi
callq 0x3290
leaq 0x4235(%rip), %rsi      # 0xa503
movq %rbx, %rdi
callq 0x3290
leaq 0x41a7(%rip), %rsi      # 0xa484
movq %rbx, %rdi
callq 0x3290
pushq $0x6a
popq %rsi
movq %rax, %rdi
callq 0x3330
leaq 0x4227(%rip), %rsi      # 0xa51e
movq %rax, %rdi
callq 0x3290
movq 0x937a(%rip), %rbx      # 0xf680
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0x3490
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x8fc6
leaq 0x28(%rsp), %rdi
callq 0x35a8
leaq 0x4165(%rip), %rsi      # 0xa496
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x50f0
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x3410
leaq 0x8(%rsp), %rdi
callq 0x35a8
movq 0x9322(%rip), %rdi      # 0xf680
pushq $0x4
popq %rsi
pushq $0x1
popq %rdx
callq 0x8fe6
movq 0x9310(%rip), %rdi      # 0xf680
callq 0x8ed6
leaq 0x68(%rsp), %rdi
callq 0x3220
addq $0x1f0, %rsp            # imm = 0x1F0
popq %rbx
popq %r14
popq %r15
retq
jmp 0x639a
jmp 0x63b5
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
jmp 0x63ae
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
jmp 0x63ae
jmp 0x63b5
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x35a8
jmp 0x63b8
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x3220
movq %rbx, %rdi
callq 0x3510