// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/gui/widgets/multi/list/listentry.cpp
// Function: smooth::GUI::ListEntry::ListEntry(smooth::String const&)
S::GUI::ListEntry::ListEntry(const String &iText)
{
	type		= classID;

	selected	= False;
	marked		= False;
	text		= iText;

	font.SetColor(Setup::ClientTextColor);

	ComputeTextSize();

	hotspot		= new Hotspot(Point(), GetSize());
	markHotspot	= new Hotspot(Point(2, 3), Size(9, 9));

	hotspot->onLeftButtonDown.Connect(&ListEntry::OnSelectEntry, this);
	markHotspot->onLeftButtonDown.Connect(&ListEntry::OnClickMarkHotspot, this);

	hotspot->onMouseDrag.Connect(&ListEntry::InitDrag, this);

	Add(hotspot);
	Add(markHotspot);

	SetSize(Size(100, 16));

	internalOnSelectEntry.Connect(&ListEntry::OnSelectOtherEntry, this);

	onChangeSize.Connect(&Hotspot::SetSize, hotspot);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
callq 0x5d430
movq -0xa0(%rbp), %rdi
movq 0x1524ef(%rip), %rax    # 0x208ff0
addq $0x10, %rax
movq %rax, (%rdi)
addq $0x5d0, %rdi            # imm = 0x5D0
movq %rdi, -0x98(%rbp)
callq 0x8aae0
jmp 0xb6b1d
movq -0xa0(%rbp), %rdi
addq $0x5f0, %rdi            # imm = 0x5F0
movq %rdi, -0xa8(%rbp)
callq 0x8aae0
jmp 0xb6b39
movq -0xa0(%rbp), %rdi
addq $0x610, %rdi            # imm = 0x610
movq %rdi, -0xb0(%rbp)
callq 0xb9100
jmp 0xb6b55
movq -0xa0(%rbp), %rdi
movq 0x151a65(%rip), %rax    # 0x2085c8
movswl (%rax), %esi
addq $0x20, %rdi
callq 0x5a2e0
jmp 0xb6b71
movq -0xa0(%rbp), %rdi
movb $0x0, 0x5b9(%rdi)
movb $0x0, 0x5b8(%rdi)
movq -0x10(%rbp), %rsi
addq $0xf0, %rdi
callq 0x59760
jmp 0xb6b98
movq -0xa0(%rbp), %rdi
addq $0x140, %rdi            # imm = 0x140
movq 0x152233(%rip), %rsi    # 0x208de0
callq 0x5d110
jmp 0xb6bb4
movq -0xa0(%rbp), %rdi
callq 0x59de0
jmp 0xb6bc2
movl $0x5b8, %edi            # imm = 0x5B8
callq 0x59820
movq %rax, -0xb8(%rbp)
jmp 0xb6bd5
leaq -0x24(%rbp), %rdi
callq 0x5b530
jmp 0xb6be0
movq -0xa0(%rbp), %rdi
callq 0x5bf70
movq %rax, -0xc0(%rbp)
jmp 0xb6bf5
movq -0xc0(%rbp), %rdx
movq -0xb8(%rbp), %rdi
leaq -0x24(%rbp), %rsi
callq 0x59c30
jmp 0xb6c0e
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq %rcx, 0x5c0(%rax)
movl $0x5b8, %edi            # imm = 0x5B8
callq 0x59820
movq %rax, -0xc8(%rbp)
jmp 0xb6c36
leaq -0x2c(%rbp), %rdi
movl $0x2, %esi
movl $0x3, %edx
callq 0x5c2c0
jmp 0xb6c4b
leaq -0x34(%rbp), %rdi
movl $0x9, %edx
movl %edx, %esi
callq 0x59260
jmp 0xb6c5d
movq -0xc8(%rbp), %rdi
leaq -0x2c(%rbp), %rsi
leaq -0x34(%rbp), %rdx
callq 0x59c30
jmp 0xb6c73
movq -0xa0(%rbp), %rcx
movq -0xc8(%rbp), %rax
movq %rax, 0x5c8(%rcx)
movq 0x5c0(%rcx), %rdi
addq $0x2f8, %rdi            # imm = 0x2F8
movq 0x151dd3(%rip), %rax    # 0x208a70
movq %rax, -0x48(%rbp)
movq $0x0, -0x40(%rbp)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
callq 0xb9150
jmp 0xb6cb8
movq -0xa0(%rbp), %rcx
movq 0x5c8(%rcx), %rdi
addq $0x2f8, %rdi            # imm = 0x2F8
movq 0x151bd4(%rip), %rax    # 0x2088a8
movq %rax, -0x58(%rbp)
movq $0x0, -0x50(%rbp)
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
callq 0xb9150
jmp 0xb6cef
movq -0xa0(%rbp), %rcx
movq 0x5c0(%rcx), %rdi
addq $0x418, %rdi            # imm = 0x418
movq 0x151c05(%rip), %rax    # 0x208910
movq %rax, -0x68(%rbp)
movq $0x0, -0x60(%rbp)
movq -0x68(%rbp), %rsi
movq -0x60(%rbp), %rdx
callq 0xb9150
jmp 0xb6d26
movq -0xa0(%rbp), %rdi
movq 0x5c0(%rdi), %rsi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
jmp 0xb6d3f
movq -0xa0(%rbp), %rdi
movq 0x5c8(%rdi), %rsi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
jmp 0xb6d58
leaq -0x70(%rbp), %rdi
movl $0x64, %esi
movl $0x10, %edx
callq 0x59260
jmp 0xb6d6d
movq -0xa0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x5de18
jmp 0xb6d7f
movq -0xa0(%rbp), %rcx
movq 0x15175b(%rip), %rax    # 0x2084e8
movq %rax, -0x80(%rbp)
movq $0x0, -0x78(%rbp)
movq -0x80(%rbp), %rsi
movq -0x78(%rbp), %rdx
movq 0x151ef0(%rip), %rdi    # 0x208c98
callq 0xb9290
jmp 0xb6daf
movq -0xa0(%rbp), %rax
movq %rax, %rdi
addq $0x298, %rdi            # imm = 0x298
movq 0x5c0(%rax), %rcx
movq 0x151722(%rip), %rax    # 0x2084f0
movq %rax, -0x90(%rbp)
movq $0x0, -0x88(%rbp)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
callq 0x93a80
jmp 0xb6df5
addq $0xd0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0xb6e99
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0xb6e8d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0xb6e81
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
jmp 0xb6e75
movq -0xb8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
movl $0x5b8, %esi            # imm = 0x5B8
callq 0x595b0
jmp 0xb6e75
movq -0xc8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x18(%rbp)
movl %eax, -0x1c(%rbp)
movl $0x5b8, %esi            # imm = 0x5B8
callq 0x595b0
movq -0xb0(%rbp), %rdi
callq 0xb93d0
movq -0xa8(%rbp), %rdi
callq 0x8ad70
movq -0x98(%rbp), %rdi
callq 0x8ad70
movq -0xa0(%rbp), %rdi
callq 0x5b640
movq -0x18(%rbp), %rdi
callq 0x5b6b0
nop