本文整理汇总了C++中Default函数的典型用法代码示例。如果您正苦于以下问题:C++ Default函数的具体用法?C++ Default怎么用?C++ Default使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了Default函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Default
C4ObjectInfoCore::C4ObjectInfoCore()
{
Default();
}
示例2: Default
C4RankSystem::C4RankSystem()
{
Default();
}
示例3: ReleaseCapture
void CContainer::OnNcLButtonUp(UINT nHitTest, CPoint point)
{
// TODO: Add your message handler code here and/or call default
if (nHitTest == HTCAPTION)
{
if(nHitTest == HTCAPTION)
{
if (m_NCDragWindow)
{
ReleaseCapture();
m_NCDragWindow=FALSE;
return;
}
}
}
CRect rc;
//------------------ para el boton
CRect rcT=m_rcCloseBtn;
ClientToScreen(rcT);
point.y+=20;
point.x+=1;
if (rcT.PtInRect(point))
{
if (m_stateBtn ==PRESS)
{
if (IsWindowVisible())
{
//if (m_Numtabs==1)
ShowPane(FALSE);
//else
// DeleteTab(m_iSelectTab);
}
else
ShowPane(TRUE);
if (m_DOCKSITE == BS_ALIGN_BOTTOM)
((DockManager*)theApp->m_WinMain->m_DockBottom)->EveryWindowsInsert();
if (m_DOCKSITE == BS_ALIGN_LEFT)
((DockManager*)theApp->m_WinMain->m_DockLeft)->EveryWindowsInsert();
if (m_DOCKSITE == BS_ALIGN_RIGHT)
((DockManager*)theApp->m_WinMain->m_DockRight)->EveryWindowsInsert();
theApp->m_WinMain->UpdateFrame();
//::SendMessage(GetParent(),WM_SIZE,0,0);
}
}
if (m_stateBtn ==PRESS)
{
m_stateBtn=NORMAL;
KillTimer(1);
SendMessage(WM_NCPAINT,0,0);
return;
}
rcT=m_rcAutoHideBtn;
ClientToScreen(rcT);
if (rcT.PtInRect(point))
{
}
if (m_stateAHBtn ==PRESS)
{
m_stateAHBtn=NORMAL;
KillTimer(1);
SendMessage(WM_NCPAINT,0,0);
return;
}
Default();
}
示例4: Default
LRESULT CSCWListCtrl::OnSetFont(WPARAM, LPARAM)
{
LRESULT res = Default();
UpdateRowHeight(false);
return res;
}
示例5: Default
void Transport_ReceiveFSMState::SendTransition(Transport_ReceiveFSMContext& context)
{
Default(context);
return;
}
示例6: Default
LRESULT CXTPMDIClientWnd::OnMDICreate(WPARAM /*wParam*/, LPARAM /*lParam*/)
{
LRESULT lResult = Default();
m_pMDIWndTab->OnMDICreate((HWND)lResult);
return lResult;
}
示例7: FullScreen
/**
* Returns a default full-screen page.
*/
static PageLayout FullScreen() {
PageLayout pl = Default();
pl.infobox_config.enabled = false;
return pl;
}
示例8: Default
void AdditionServerServiceDef_additionServerFSMState::QueryAdditionTransition(AdditionServerServiceDef_additionServerFSMContext& context, QueryAddition msg, unsigned int sender)
{
Default(context);
return;
}
示例9: JITDISABLE
void Jit64::reg_imm(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(Integer)
u32 d = inst.RD, a = inst.RA, s = inst.RS;
switch (inst.OPCD)
{
case 14: // addi
// occasionally used as MOV - emulate, with immediate propagation
if (gpr.R(a).IsImm() && d != a && a != 0) {
gpr.SetImmediate32(d, (u32)gpr.R(a).offset + (u32)(s32)(s16)inst.SIMM_16);
} else if (inst.SIMM_16 == 0 && d != a && a != 0) {
gpr.Lock(a, d);
gpr.BindToRegister(d, false, true);
MOV(32, gpr.R(d), gpr.R(a));
gpr.UnlockAll();
} else {
regimmop(d, a, false, (u32)(s32)inst.SIMM_16, Add, &XEmitter::ADD); //addi
}
break;
case 15:
if (a == 0) { // lis
// Merge with next instruction if loading a 32-bits immediate value (lis + addi, lis + ori)
if (!js.isLastInstruction && !Core::g_CoreStartupParameter.bEnableDebugging) {
if ((js.next_inst.OPCD == 14) && (js.next_inst.RD == d) && (js.next_inst.RA == d)) { // addi
gpr.SetImmediate32(d, ((u32)inst.SIMM_16 << 16) + (u32)(s32)js.next_inst.SIMM_16);
js.downcountAmount++;
js.skipnext = true;
break;
}
else if ((js.next_inst.OPCD == 24) && (js.next_inst.RA == d) && (js.next_inst.RS == d)) { // ori
gpr.SetImmediate32(d, ((u32)inst.SIMM_16 << 16) | (u32)js.next_inst.UIMM);
js.downcountAmount++;
js.skipnext = true;
break;
}
}
// Not merged
regimmop(d, a, false, (u32)inst.SIMM_16 << 16, Add, &XEmitter::ADD);
}
else { // addis
regimmop(d, a, false, (u32)inst.SIMM_16 << 16, Add, &XEmitter::ADD);
}
break;
case 24:
if (a == 0 && s == 0 && inst.UIMM == 0 && !inst.Rc) //check for nop
{NOP(); return;} //make the nop visible in the generated code. not much use but interesting if we see one.
regimmop(a, s, true, inst.UIMM, Or, &XEmitter::OR);
break; //ori
case 25: regimmop(a, s, true, inst.UIMM << 16, Or, &XEmitter::OR, false); break;//oris
case 28: regimmop(a, s, true, inst.UIMM, And, &XEmitter::AND, true); break;
case 29: regimmop(a, s, true, inst.UIMM << 16, And, &XEmitter::AND, true); break;
case 26: regimmop(a, s, true, inst.UIMM, Xor, &XEmitter::XOR, false); break; //xori
case 27: regimmop(a, s, true, inst.UIMM << 16, Xor, &XEmitter::XOR, false); break; //xoris
case 12: regimmop(d, a, false, (u32)(s32)inst.SIMM_16, Add, &XEmitter::ADD, false, true); break; //addic
case 13: regimmop(d, a, true, (u32)(s32)inst.SIMM_16, Add, &XEmitter::ADD, true, true); break; //addic_rc
default:
Default(inst);
break;
}
}
示例10: Default
CStdNoGfx::CStdNoGfx()
{
Default();
}
示例11: Default
void ThreadPool::WaitAndDie(void)
{
Default().DoWaitAndDie();
}
示例12: Default
void StoplightState::Timeout(StoplightContext<Stoplight>& context, LightColors t) {
Default(context);
}
示例13: Default
LRESULT CMyView::OnSetFont(LPARAM,WPARAM)
{
LRESULT res = Default();
SetMode();
return res;
}
示例14: Default
LRESULT CRulerRichEdit::OnIMEEndComposition(WPARAM /*wp*/, LPARAM /*lp*/)
{
m_bIMEComposing = FALSE;
return Default();
}
示例15: Default
ON_3dmObjectAttributes::ON_3dmObjectAttributes()
{
Default();
}