summaryrefslogtreecommitdiff
path: root/utils/hlfaceposer/choiceproperties.h
blob: d13211bbb804bc50777d81e9dcbd510ea05446ff (plain) (blame)
1
2
3
4
5
6
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
38
39
40
41
42
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================//

#ifndef CHOICEPROPERTIES_H
#define CHOICEPROPERTIES_H
#ifdef _WIN32
#pragma once
#endif

#include "utlvector.h"

#define MAX_CHOICE_TEXT_SIZE 128

struct ChoiceText
{
	char	choice[ MAX_CHOICE_TEXT_SIZE ];
};

#include "basedialogparams.h"

//-----------------------------------------------------------------------------
// Purpose: 
//-----------------------------------------------------------------------------
struct CChoiceParams : public CBaseDialogParams
{

	char		m_szPrompt[ 256 ];

	CUtlVector< ChoiceText > m_Choices;

	// i/o active choice and output choice
	int			m_nSelected; // -1 for none
};

// Display/create dialog
int ChoiceProperties( CChoiceParams *params );

#endif // CHOICEPROPERTIES_H