// File: /workspace/github_c_makefile_star2_O2/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 0x59c20
movq 0xdde47(%rip), %rax     # 0x161ff0
addq $0x10, %rax
movq %rax, (%rbx)
andq $0x0, 0x5d8(%rbx)
leaq 0xd35a9(%rip), %rax     # 0x157768
movq %rax, 0x5d0(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x5e0(%rbx)
andq $0x0, 0x5f8(%rbx)
movq %rax, 0x5f0(%rbx)
movups %xmm0, 0x600(%rbx)
andq $0x0, 0x618(%rbx)
leaq 0xd76ab(%rip), %rax     # 0x15b8a0
movq %rax, 0x610(%rbx)
movups %xmm0, 0x620(%rbx)
movq 0xdd3e6(%rip), %rax     # 0x1615f0
movzwl (%rax), %eax
movw %ax, 0x20(%rbx)
andw $0x0, 0x5b8(%rbx)
leaq 0xf0(%rbx), %rdi
movq %r14, %rsi
callq 0x56630
leaq 0x140(%rbx), %rdi
movq 0xddbba(%rip), %rsi     # 0x161df0
callq 0x59940
movq %rbx, %rdi
callq 0x56c30
movl $0x5b8, %edi            # imm = 0x5B8
callq 0x56700
movq %rax, %r15
leaq 0x8(%rsp), %rsi
andq $0x0, (%rsi)
leaq 0xb0(%rbx), %rdx
movq %rax, %rdi
callq 0x56aa0
movq %r15, 0x5c0(%rbx)
movl $0x5b8, %edi            # imm = 0x5B8
callq 0x56700
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 0x56aa0
movq %r15, 0x5c8(%rbx)
movl $0x2f8, %r14d           # imm = 0x2F8
movq 0x5c0(%rbx), %rdi
addq %r14, %rdi
movq 0xdd7c2(%rip), %rsi     # 0x161a88
xorl %edx, %edx
movq %rbx, %rcx
callq 0x85478
addq 0x5c8(%rbx), %r14
movq 0xdd5f2(%rip), %rsi     # 0x1618d0
movq %r14, %rdi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x85478
movl $0x418, %edi            # imm = 0x418
addq 0x5c0(%rbx), %rdi
movq 0xdd632(%rip), %rsi     # 0x161930
xorl %edx, %edx
movq %rbx, %rcx
callq 0x85478
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 0xdd954(%rip), %rdi     # 0x161ca8
movq 0xdd1b5(%rip), %rsi     # 0x161510
xorl %edx, %edx
movq %rbx, %rcx
callq 0x85514
leaq 0x298(%rbx), %rdi
movq 0x5c0(%rbx), %rcx
movq 0xdd19e(%rip), %rsi     # 0x161518
xorl %edx, %edx
callq 0x73d76
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x843a3
jmp 0x84391
movq %rax, %r14
movl $0x5b8, %esi            # imm = 0x5B8
movq %r15, %rdi
callq 0x564c0
jmp 0x843a6
movq %rax, %r14
leaq 0x5d0(%rbx), %r15
leaq 0x5f0(%rbx), %r12
leaq 0x610(%rbx), %rdi
callq 0x855b0
movq %r12, %rdi
callq 0x700e0
movq %r15, %rdi
callq 0x700e0
movq %rbx, %rdi
callq 0x58200
movq %r14, %rdi
callq 0x58260