Пример #1
0
std::vector< types::uint32 > ConvertColorPalette( const std::vector< types::color >& palette )
{
	std::vector< types::uint32 > result;
	for( unsigned int i = 0; i < palette.size(); ++i )
	{
		result.push_back( ConvertToHex( palette[ i ] ) );
	}
	return result;
}
Пример #2
0
NickName::NickName(WHartShortAddress address_)
{
	address = address_;
	textAddress = ConvertToHex((unsigned short)address);
}