// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/samples/test/test.cpp
// Function: Test::OnArrowsValueChange(int)
Void Test::OnArrowsValueChange(Int value)
{
	text_arrows_value->SetText(String::FromInt(value));

	Surface	*surface = mainWnd->GetDrawSurface();

	/* Boxes.
	 */
	surface->Box(Rect(Point(250, 150), Size(10, 10)), Color(255, 0, 0), Rect::Filled);
	surface->Box(Rect(Point(250, 170), Size(10, 10)), Color(255, 0, 0), Rect::Dotted);
	surface->Box(Rect(Point(250, 190), Size(10, 10)), Color(255, 0, 0), Rect::Outlined);

	/* Gradient.
	 */
	surface->Gradient(Rect(Point(300, 150), Size(100, 10)), Color(255, 0, 0), Color(0, 0, 255), OR_HORZ);

	/* Horizontal & vertical lines.
	 */
	surface->Line(Point(300, 170), Point(400, 170), Color(255, 0, 0));
	surface->Line(Point(400, 180), Point(300, 180), Color(255, 0, 0));
	surface->Line(Point(300, 190), Point(300, 200), Color(255, 0, 0));
	surface->Line(Point(290, 200), Point(290, 190), Color(255, 0, 0));

	/* Diagonal lines.
	 */
	surface->Line(Point(310, 190), Point(320, 200), Color(255, 0, 0));
	surface->Line(Point(330, 200), Point(340, 190), Color(255, 0, 0));
	surface->Line(Point(360, 200), Point(350, 190), Color(255, 0, 0));
	surface->Line(Point(380, 190), Point(370, 200), Color(255, 0, 0));

	/* Single pixel.
	 */
	surface->SetPixel(Point(399, 190), Color(255, 0, 0));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2e0, %rsp            # imm = 0x2E0
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x258(%rbp)
movq 0x620(%rax), %rax
movq %rax, -0x250(%rbp)
movslq -0xc(%rbp), %rsi
leaq -0x28(%rbp), %rdi
movq %rdi, -0x248(%rbp)
callq 0x5160
movq -0x250(%rbp), %rdi
movq -0x248(%rbp), %rsi
movq (%rdi), %rax
movq 0xa0(%rax), %rax
callq *%rax
jmp 0x894b
leaq -0x28(%rbp), %rdi
callq 0x5270
movq -0x258(%rbp), %rax
movq 0x5b8(%rax), %rdi
movq (%rdi), %rax
callq *0x40(%rax)
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x2d8(%rbp)
leaq -0x58(%rbp), %rdi
movl $0xfa, %esi
movl $0x96, %edx
callq 0x9430
leaq -0x60(%rbp), %rdi
movl $0xa, %edx
movl %edx, %esi
callq 0x9450
leaq -0x50(%rbp), %rdi
leaq -0x58(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0x9ce0
leaq -0x70(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq 0x75c7(%rip), %rax      # 0xff90
movl (%rax), %eax
movl %eax, -0x2cc(%rbp)
leaq -0x78(%rbp), %rdi
xorl %edx, %edx
movl %edx, %esi
callq 0x9450
movq -0x2d8(%rbp), %rdi
movl -0x2cc(%rbp), %ecx
leaq -0x50(%rbp), %rsi
leaq -0x70(%rbp), %rdx
leaq -0x78(%rbp), %r8
callq 0x51e0
movq -0x40(%rbp), %rax
movq %rax, -0x2c8(%rbp)
leaq -0x90(%rbp), %rdi
movl $0xfa, %esi
movl $0xaa, %edx
callq 0x9430
leaq -0x98(%rbp), %rdi
movl $0xa, %edx
movl %edx, %esi
callq 0x9450
leaq -0x88(%rbp), %rdi
leaq -0x90(%rbp), %rsi
leaq -0x98(%rbp), %rdx
callq 0x9ce0
leaq -0xa8(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq 0x7545(%rip), %rax      # 0xffb0
movl (%rax), %eax
movl %eax, -0x2bc(%rbp)
leaq -0xb0(%rbp), %rdi
xorl %edx, %edx
movl %edx, %esi
callq 0x9450
movq -0x2c8(%rbp), %rdi
movl -0x2bc(%rbp), %ecx
leaq -0x88(%rbp), %rsi
leaq -0xa8(%rbp), %rdx
leaq -0xb0(%rbp), %r8
callq 0x51e0
movq -0x40(%rbp), %rax
movq %rax, -0x2b8(%rbp)
leaq -0xc8(%rbp), %rdi
movl $0xfa, %esi
movl $0xbe, %edx
callq 0x9430
leaq -0xd0(%rbp), %rdi
movl $0xa, %edx
movl %edx, %esi
callq 0x9450
leaq -0xc0(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
leaq -0xd0(%rbp), %rdx
callq 0x9ce0
leaq -0xe0(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq 0x74cf(%rip), %rax      # 0xffe8
movl (%rax), %eax
movl %eax, -0x2ac(%rbp)
leaq -0xe8(%rbp), %rdi
xorl %edx, %edx
movl %edx, %esi
callq 0x9450
movq -0x2b8(%rbp), %rdi
movl -0x2ac(%rbp), %ecx
leaq -0xc0(%rbp), %rsi
leaq -0xe0(%rbp), %rdx
leaq -0xe8(%rbp), %r8
callq 0x51e0
movq -0x40(%rbp), %rax
movq %rax, -0x2a8(%rbp)
leaq -0x100(%rbp), %rdi
movl $0x12c, %esi            # imm = 0x12C
movl $0x96, %edx
callq 0x9430
leaq -0x108(%rbp), %rdi
movl $0x64, %esi
movl $0xa, %edx
callq 0x9450
leaq -0xf8(%rbp), %rdi
leaq -0x100(%rbp), %rsi
leaq -0x108(%rbp), %rdx
callq 0x9ce0
leaq -0x118(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
leaq -0x128(%rbp), %rdi
xorl %r8d, %r8d
movl $0xff, %ecx
movl %r8d, %esi
movl %r8d, %edx
callq 0x9a10
movq -0x2a8(%rbp), %rdi
leaq -0xf8(%rbp), %rsi
leaq -0x118(%rbp), %rdx
leaq -0x128(%rbp), %rcx
movl $0x1, %r8d
callq 0x5450
movq -0x40(%rbp), %rax
movq %rax, -0x2a0(%rbp)
leaq -0x130(%rbp), %rdi
movl $0x12c, %esi            # imm = 0x12C
movl $0xaa, %edx
callq 0x9430
leaq -0x138(%rbp), %rdi
movl $0x190, %esi            # imm = 0x190
movl $0xaa, %edx
callq 0x9430
leaq -0x148(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq -0x2a0(%rbp), %rdi
leaq -0x130(%rbp), %rsi
leaq -0x138(%rbp), %rdx
leaq -0x148(%rbp), %rcx
callq 0x5240
movq -0x40(%rbp), %rax
movq %rax, -0x298(%rbp)
leaq -0x150(%rbp), %rdi
movl $0x190, %esi            # imm = 0x190
movl $0xb4, %edx
callq 0x9430
leaq -0x158(%rbp), %rdi
movl $0x12c, %esi            # imm = 0x12C
movl $0xb4, %edx
callq 0x9430
leaq -0x168(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq -0x298(%rbp), %rdi
leaq -0x150(%rbp), %rsi
leaq -0x158(%rbp), %rdx
leaq -0x168(%rbp), %rcx
callq 0x5240
movq -0x40(%rbp), %rax
movq %rax, -0x290(%rbp)
leaq -0x170(%rbp), %rdi
movl $0x12c, %esi            # imm = 0x12C
movl $0xbe, %edx
callq 0x9430
leaq -0x178(%rbp), %rdi
movl $0x12c, %esi            # imm = 0x12C
movl $0xc8, %edx
callq 0x9430
leaq -0x188(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq -0x290(%rbp), %rdi
leaq -0x170(%rbp), %rsi
leaq -0x178(%rbp), %rdx
leaq -0x188(%rbp), %rcx
callq 0x5240
movq -0x40(%rbp), %rax
movq %rax, -0x288(%rbp)
leaq -0x190(%rbp), %rdi
movl $0x122, %esi            # imm = 0x122
movl $0xc8, %edx
callq 0x9430
leaq -0x198(%rbp), %rdi
movl $0x122, %esi            # imm = 0x122
movl $0xbe, %edx
callq 0x9430
leaq -0x1a8(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq -0x288(%rbp), %rdi
leaq -0x190(%rbp), %rsi
leaq -0x198(%rbp), %rdx
leaq -0x1a8(%rbp), %rcx
callq 0x5240
movq -0x40(%rbp), %rax
movq %rax, -0x280(%rbp)
leaq -0x1b0(%rbp), %rdi
movl $0x136, %esi            # imm = 0x136
movl $0xbe, %edx
callq 0x9430
leaq -0x1b8(%rbp), %rdi
movl $0x140, %esi            # imm = 0x140
movl $0xc8, %edx
callq 0x9430
leaq -0x1c8(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq -0x280(%rbp), %rdi
leaq -0x1b0(%rbp), %rsi
leaq -0x1b8(%rbp), %rdx
leaq -0x1c8(%rbp), %rcx
callq 0x5240
movq -0x40(%rbp), %rax
movq %rax, -0x278(%rbp)
leaq -0x1d0(%rbp), %rdi
movl $0x14a, %esi            # imm = 0x14A
movl $0xc8, %edx
callq 0x9430
leaq -0x1d8(%rbp), %rdi
movl $0x154, %esi            # imm = 0x154
movl $0xbe, %edx
callq 0x9430
leaq -0x1e8(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq -0x278(%rbp), %rdi
leaq -0x1d0(%rbp), %rsi
leaq -0x1d8(%rbp), %rdx
leaq -0x1e8(%rbp), %rcx
callq 0x5240
movq -0x40(%rbp), %rax
movq %rax, -0x270(%rbp)
leaq -0x1f0(%rbp), %rdi
movl $0x168, %esi            # imm = 0x168
movl $0xc8, %edx
callq 0x9430
leaq -0x1f8(%rbp), %rdi
movl $0x15e, %esi            # imm = 0x15E
movl $0xbe, %edx
callq 0x9430
leaq -0x208(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq -0x270(%rbp), %rdi
leaq -0x1f0(%rbp), %rsi
leaq -0x1f8(%rbp), %rdx
leaq -0x208(%rbp), %rcx
callq 0x5240
movq -0x40(%rbp), %rax
movq %rax, -0x268(%rbp)
leaq -0x210(%rbp), %rdi
movl $0x17c, %esi            # imm = 0x17C
movl $0xbe, %edx
callq 0x9430
leaq -0x218(%rbp), %rdi
movl $0x172, %esi            # imm = 0x172
movl $0xc8, %edx
callq 0x9430
leaq -0x228(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq -0x268(%rbp), %rdi
leaq -0x210(%rbp), %rsi
leaq -0x218(%rbp), %rdx
leaq -0x228(%rbp), %rcx
callq 0x5240
movq -0x40(%rbp), %rax
movq %rax, -0x260(%rbp)
leaq -0x230(%rbp), %rdi
movl $0x18f, %esi            # imm = 0x18F
movl $0xbe, %edx
callq 0x9430
leaq -0x240(%rbp), %rdi
movl $0xff, %esi
xorl %r8d, %r8d
movl %r8d, %edx
movl %r8d, %ecx
callq 0x9a10
movq -0x260(%rbp), %rdi
leaq -0x230(%rbp), %rsi
leaq -0x240(%rbp), %rdx
callq 0x52b0
addq $0x2e0, %rsp            # imm = 0x2E0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x5270
movq -0x30(%rbp), %rdi
callq 0x5180