// File: /workspace/github_c_makefile_star2_O3/enzo1982[P]smooth/classes/gui/widgets/special/cursor.cpp
// Function: smooth::GUI::Cursor::Cursor(smooth::GUI::Point const&, smooth::GUI::Size const&)
S::GUI::Cursor::Cursor(const Point &iPos, const Size &iSize) : Widget(iPos, iSize)
{
	type		= classID;
	markStart	= -1;
	markEnd		= -1;
	maxSize		= 32768;
	promptPos	= 0;
	promptVisible	= False;
	timer		= NIL;
	marking		= False;
	visibleOffset	= 0;
	scrollPos	= 0;
	maxScrollPos	= 0;
	contextMenu	= NIL;
	historyPos	= 0;
	tabSize		= 4;

	imeAdvance	= 0;
	imeCursor	= False;

	SetTabstopCapable(True);

	onGetFocus.Connect(&Cursor::OnGetFocus, this);
	onGetFocusByKeyboard.Connect(&Cursor::OnGetFocusByKeyboard, this);
	onLoseFocus.Connect(&Cursor::OnLoseFocus, this);

	getContextMenu.Connect(&Cursor::GetContextMenu, this);

	onInput.SetParentObject(this);
	onEnter.SetParentObject(this);
	onScroll.SetParentObject(this);

	AddHistoryEntry();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
callq 0x57a30
movq 0xdb42f(%rip), %rax     # 0x16b880
addq $0x10, %rax
movq %rax, (%rbx)
leaq 0x5e8(%rbx), %r14
movq %r14, %rdi
callq 0x55d90
leaq 0xd51b2(%rip), %r13     # 0x165620
movq %r13, 0x628(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x630(%rbx)
leaq 0xd50fa(%rip), %rbp     # 0x165580
movq %rbp, 0x5e8(%rbx)
leaq 0x650(%rbx), %r15
movq %r15, %rdi
callq 0x55d90
leaq 0xcfe0d(%rip), %rax     # 0x1602b0
movq %rax, 0x690(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x698(%rbx)
leaq 0xcfd55(%rip), %rax     # 0x160210
movq %rax, 0x650(%rbx)
leaq 0x6a8(%rbx), %r12
movq %r12, %rdi
callq 0x55d90
movq %r13, 0x6e8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x6f0(%rbx)
movq %rbp, 0x6a8(%rbx)
leaq 0x708(%rbx), %rax
movq %rax, 0x10(%rsp)
xorl %eax, %eax
movq %rax, 0x710(%rbx)
leaq 0xd22bb(%rip), %rcx     # 0x1627c0
movq %rcx, 0x708(%rbx)
movups %xmm0, 0x718(%rbx)
leaq 0x728(%rbx), %rdx
movq %rdx, 0x8(%rsp)
movq %rax, 0x730(%rbx)
movq %rcx, 0x728(%rbx)
movups %xmm0, 0x738(%rbx)
leaq 0x748(%rbx), %r13
movq %rax, 0x750(%rbx)
leaq 0xd17f7(%rip), %rcx     # 0x161d40
movq %rcx, 0x748(%rbx)
movups %xmm0, 0x758(%rbx)
movq 0xdb61a(%rip), %rcx     # 0x16bb78
movzwl (%rcx), %ecx
movw %cx, 0x20(%rbx)
movl $0x8000, 0x640(%rbx)    # imm = 0x8000
movsd 0x667c9(%rip), %xmm0    # 0xf6d40
movups %xmm0, 0x5c8(%rbx)
movq %rax, 0x5d8(%rbx)
movq %rax, 0x648(%rbx)
movl $0x0, 0x700(%rbx)
movq %rax, 0x5b8(%rbx)
movq %rax, 0x5be(%rbx)
movl $0x4, 0x5e4(%rbx)
movb $0x0, 0x5e0(%rbx)
movb $0x1, 0xd2(%rbx)
leaq 0x4d8(%rbx), %rdi
movq 0xdad7e(%rip), %rsi     # 0x16b348
xorl %edx, %edx
movq %rbx, %rcx
callq 0x94d7e
leaq 0x4f8(%rbx), %rdi
movq 0xdb896(%rip), %rsi     # 0x16be78
xorl %edx, %edx
movq %rbx, %rcx
callq 0x94d7e
leaq 0x518(%rbx), %rdi
movq 0xdb79e(%rip), %rsi     # 0x16bd98
xorl %edx, %edx
movq %rbx, %rcx
callq 0x94d7e
leaq 0x1d0(%rbx), %rbp
movq %rbp, %rdi
callq 0x708ca
movq 0xdb49e(%rip), %rsi     # 0x16bab8
movq %rbp, %rdi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x95376
movq %rbx, 0x710(%rbx)
movq %rbx, 0x730(%rbx)
movq %rbx, 0x750(%rbx)
movq %rbx, %rdi
callq 0x587f0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbp
jmp 0x90689
movq %rax, %rbp
jmp 0x90691
movq %rax, %rbp
jmp 0x90699
movq %rax, %rbp
movq %r13, %rdi
callq 0x72988
movq 0x8(%rsp), %rdi
callq 0x76616
movq 0x10(%rsp), %rdi
callq 0x76616
movq %r12, %rdi
callq 0x86004
movq %r15, %rdi
callq 0x63e3c
movq %r14, %rdi
callq 0x86004
movq %rbx, %rdi
callq 0x57640
movq %rbp, %rdi
callq 0x57090
nop