Beispiel #1
0
void QtCalculator::Hex_Selected()
{
  basebutton[0]->setChecked(TRUE);
  basebutton[1]->setChecked(FALSE);
  basebutton[2]->setChecked(FALSE);
  basebutton[3]->setChecked(FALSE);
  SetHex();
}
Beispiel #2
0
	void Color::SetHexString(const std::string& szHex)
	{
		glm::u32 fin;
		std::stringstream stream;
		stream << std::hex << szHex.c_str();
		stream >> fin;
		SetHex(fin);
	}
Beispiel #3
0
CDbgView::CDbgView(_In_ CParentWnd* pParentWnd):
	CEditor(pParentWnd, IDS_DBGVIEW, NULL, 0, CEDITOR_BUTTON_ACTION1 | CEDITOR_BUTTON_ACTION2, IDS_CLEAR, IDS_CLOSE, NULL)
{
	TRACE_CONSTRUCTOR(CLASS);
	CreateControls(DBGVIEW_NUMFIELDS);
	InitPane(DBGVIEW_TAGS, CreateSingleLinePane(IDS_REGKEY_DEBUG_TAG, NULL, false));
	SetHex(DBGVIEW_TAGS,GetDebugLevel());
	InitPane(DBGVIEW_PAUSE, CreateCheckPane(IDS_PAUSE, false, false));
	InitPane(DBGVIEW_VIEW, CreateMultiLinePane(NULL, NULL, true));
	m_bPaused = false;
	DisplayParentedDialog(pParentWnd,800);
} // CDbgView::CDbgView
Beispiel #4
0
	Color::Color(const glm::u32& hex)
	{
		SetHex(hex);
	}
base_uint<BITS>::base_uint(const std::string& str)
{
    SetHex(str);
}
base_uint<BITS>::base_uint(const std::string& str)
{
    static_assert(BITS/32 > 0 && BITS%32 == 0, "Template parameter BITS must be a positive multiple of 32.");

    SetHex(str);
}
Beispiel #7
0
void base_blob<BITS>::SetHex(const std::string& str)
{
    SetHex(str.c_str());
}