// File: /workspace/github_c_makefile_star2_O3/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 %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x588f0
movq 0xe58f3(%rip), %rax     # 0x16bff0
addq $0x10, %rax
movq %rax, (%rbx)
xorl %eax, %eax
movq %rax, 0x5d8(%rbx)
leaq 0xdb034(%rip), %rcx     # 0x161748
movq %rcx, 0x5d0(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x5e0(%rbx)
movq %rax, 0x5f8(%rbx)
movq %rcx, 0x5f0(%rbx)
movups %xmm0, 0x600(%rbx)
movq %rax, 0x618(%rbx)
leaq 0xdf138(%rip), %rax     # 0x165880
movq %rax, 0x610(%rbx)
movups %xmm0, 0x620(%rbx)
movq 0xe4e93(%rip), %rax     # 0x16b5f0
movzwl (%rax), %eax
movw %ax, 0x20(%rbx)
movw $0x0, 0x5b8(%rbx)
leaq 0xf0(%rbx), %rdi
movq %r14, %rsi
callq 0x555f0
leaq 0x140(%rbx), %rdi
movq 0xe5666(%rip), %rsi     # 0x16bdf0
callq 0x58650
movq %rbx, %rdi
callq 0x55bb0
movl $0x5b8, %edi            # imm = 0x5B8
callq 0x556b0
movq %rax, %r15
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
leaq 0xb0(%rbx), %rdx
movq %rax, %rdi
callq 0x55a30
movq %r15, 0x5c0(%rbx)
movl $0x5b8, %edi            # imm = 0x5B8
callq 0x556b0
movq %rax, %r15
movabsq $0x300000002, %rax      # imm = 0x300000002
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movabsq $0x900000009, %rax      # imm = 0x900000009
leaq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq %r15, %rdi
callq 0x55a30
movq %r15, 0x5c8(%rbx)
movl $0x2f8, %r14d           # imm = 0x2F8
movq 0x5c0(%rbx), %rdi
addq %r14, %rdi
movq 0xe526b(%rip), %rsi     # 0x16ba88
xorl %edx, %edx
movq %rbx, %rcx
callq 0x87bc0
addq 0x5c8(%rbx), %r14
movq 0xe509b(%rip), %rsi     # 0x16b8d0
movq %r14, %rdi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x87bc0
movl $0x418, %edi            # imm = 0x418
addq 0x5c0(%rbx), %rdi
movq 0xe50db(%rip), %rsi     # 0x16b930
xorl %edx, %edx
movq %rbx, %rcx
callq 0x87bc0
movq 0x5c0(%rbx), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x30(%rax)
movq 0x5c8(%rbx), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x30(%rax)
movabsq $0x1000000064, %rax     # imm = 0x1000000064
leaq 0x8(%rsp), %rdx
movq %rax, (%rdx)
leaq 0xa8(%rbx), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x150(%rax)
movq 0xe53fd(%rip), %rdi     # 0x16bca8
movq 0xe4c5e(%rip), %rsi     # 0x16b510
xorl %edx, %edx
movq %rbx, %rcx
callq 0x87c80
leaq 0x298(%rbx), %rdi
movq 0x5c0(%rbx), %rcx
movq 0xe4c47(%rip), %rsi     # 0x16b518
xorl %edx, %edx
callq 0x74674
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x868fa
jmp 0x868e8
movq %rax, %r14
movl $0x5b8, %esi            # imm = 0x5B8
movq %r15, %rdi
callq 0x55480
jmp 0x868fd
movq %rax, %r14
leaq 0x5d0(%rbx), %r15
leaq 0x5f0(%rbx), %r12
leaq 0x610(%rbx), %rdi
callq 0x87d40
movq %r12, %rdi
callq 0x700f4
movq %r15, %rdi
callq 0x700f4
movq %rbx, %rdi
callq 0x57040
movq %r14, %rdi
callq 0x57090
nop