当前位置: 首页>>代码示例>>C++>>正文


C++ Default函数代码示例

本文整理汇总了C++中Default函数的典型用法代码示例。如果您正苦于以下问题:C++ Default函数的具体用法?C++ Default怎么用?C++ Default使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了Default函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: Default

C4ObjectInfoCore::C4ObjectInfoCore()
{
	Default();
}
开发者ID:Fulgen301,项目名称:openclonk,代码行数:4,代码来源:C4InfoCore.cpp

示例2: Default

C4RankSystem::C4RankSystem()
{
	Default();
}
开发者ID:772,项目名称:openclonk,代码行数:4,代码来源:C4RankSystem.cpp

示例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();
}
开发者ID:axxapp,项目名称:winxgui,代码行数:78,代码来源:CContainer.cpp

示例4: Default

LRESULT CSCWListCtrl::OnSetFont(WPARAM, LPARAM)
{
  LRESULT res = Default();
  UpdateRowHeight(false);
  return res;
}
开发者ID:Sp1l,项目名称:pwsafe,代码行数:6,代码来源:SCWListCtrl.cpp

示例5: Default

void Transport_ReceiveFSMState::SendTransition(Transport_ReceiveFSMContext& context)
{
    Default(context);
    return;
}
开发者ID:nikola-v,项目名称:jaustoolset,代码行数:5,代码来源:Transport_ReceiveFSM_sm.cpp

示例6: Default

LRESULT CXTPMDIClientWnd::OnMDICreate(WPARAM /*wParam*/, LPARAM /*lParam*/)
{
	LRESULT lResult = Default();
	m_pMDIWndTab->OnMDICreate((HWND)lResult);
	return lResult;
}
开发者ID:lai3d,项目名称:ThisIsASoftRenderer,代码行数:6,代码来源:XTPMDIWndTab.cpp

示例7: FullScreen

 /**
  * Returns a default full-screen page.
  */
 static PageLayout FullScreen() {
     PageLayout pl = Default();
     pl.infobox_config.enabled = false;
     return pl;
 }
开发者ID:CnZoom,项目名称:XcSoarPull,代码行数:8,代码来源:PageSettings.hpp

示例8: Default

 void AdditionServerServiceDef_additionServerFSMState::QueryAdditionTransition(AdditionServerServiceDef_additionServerFSMContext& context, QueryAddition msg, unsigned int sender)
 {
     Default(context);
     return;
 }
开发者ID:lavernw,项目名称:jaustoolset,代码行数:5,代码来源:AdditionServerServiceDef_additionServerFSM_sm.cpp

示例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;
	}
}
开发者ID:Everscent,项目名称:dolphin-emu,代码行数:62,代码来源:Jit_Integer.cpp

示例10: Default

CStdNoGfx::CStdNoGfx()
{
	Default();
}
开发者ID:Meowtimer,项目名称:openclonk,代码行数:4,代码来源:C4DrawT.cpp

示例11: Default

	void ThreadPool::WaitAndDie(void)
	{
		Default().DoWaitAndDie();
	}
开发者ID:Yalir,项目名称:Awl,代码行数:4,代码来源:ThreadPool.cpp

示例12: Default

	void StoplightState::Timeout(StoplightContext<Stoplight>& context, LightColors t) {
	     Default(context);
	}
开发者ID:Kampbell,项目名称:ISODE,代码行数:3,代码来源:Stoplight_sm.cpp

示例13: Default

LRESULT CMyView::OnSetFont(LPARAM,WPARAM)
{
   LRESULT res =  Default();
   SetMode();
	return res;
}
开发者ID:BackupTheBerlios,项目名称:arnold,代码行数:6,代码来源:MyView.cpp

示例14: Default

LRESULT CRulerRichEdit::OnIMEEndComposition(WPARAM /*wp*/, LPARAM /*lp*/)
{
	m_bIMEComposing = FALSE;

	return Default();
}
开发者ID:jithuin,项目名称:infogeezer,代码行数:6,代码来源:RulerRichEdit.cpp

示例15: Default

ON_3dmObjectAttributes::ON_3dmObjectAttributes()
{
  Default();
}
开发者ID:Alpha-Kand,项目名称:qcad,代码行数:4,代码来源:opennurbs_3dm_attributes.cpp


注:本文中的Default函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。