void QtCalculator::Hex_Selected() { basebutton[0]->setChecked(TRUE); basebutton[1]->setChecked(FALSE); basebutton[2]->setChecked(FALSE); basebutton[3]->setChecked(FALSE); SetHex(); }
void Color::SetHexString(const std::string& szHex) { glm::u32 fin; std::stringstream stream; stream << std::hex << szHex.c_str(); stream >> fin; SetHex(fin); }
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
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); }
void base_blob<BITS>::SetHex(const std::string& str) { SetHex(str.c_str()); }