fbi.dcl 904 Bytes
Newer Older
Diederik van Arkel's avatar
Diederik van Arkel committed
1 2
definition module fbi

3 4 5 6
import	StdString
import	StdId
from	PmParse		import :: SearchKind
import	ExtListBox
Diederik van Arkel's avatar
Diederik van Arkel committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37

// search dialog local data
// split out to avoid cyclic dependencies

:: FindBoxInfo p =
	{ dlogId		:: !Id				// search dialog id
	, intrId		:: !Id				// search dialog interrupt id
	, msgId			:: !Id				// info message id
	, findId		:: !Id
	, closeId		:: !Id
	, stringId		:: !Id
	, kind			:: !SearchKind
	, type			:: !SearchType
	, is_searching	:: !Bool			// currently searching?
	, cleanid		:: ![String]
	, verb			:: !Bool
	, export_		:: !Bool
	, windId		:: !Id				// search window id
	, windlbId		:: !ExtListBoxId p	// search win listbox id
	, src_offset	:: !Vector2
	, src_font		:: !Font
	, src_forg		:: !Colour
	, src_back		:: !Colour
	, src_size		:: !Size
	, pathname		:: !String
	, recvId		:: !RId Bool
	}

:: SearchType = SearchPaths | SearchImports | SearchProject

instance == SearchType