代码搜索结果
找到约 10,000 项符合
Control 的代码
control.h
/*
*********************************************************************************************************
* Copyright (c) 2005, 新通电气
* All rights reserved.
*
* 文件名称:control.h
* 文件标识:无
* 摘
control.c
/*
*********************************************************************************************************
*
* 包含头文件
*
***************************************************************
control.h
#ifndef _CONTROL_H
#define _CONTROL_H
#include "tubby.h"
#define SPECIAL_VERSION
#ifdef SPECIAL_VERSION
#ifdef LINUX
#include "bcasts_lin.h"
#endif
#ifdef SOLARIS
#include "bcasts_sol.h"
#endif
#e
control.h
/**
* Control是最基本的事件责任单元,也可以负责对其本身的重绘
*/
#pragma once
class Control: public virtual EventTrigger
{
public:
Control(Window *pWnd, bool needKBEvent = true, bool needMouseEvent = true);
control.cpp
#include "GKL.h"
using namespace GKL;
Control::Control(Window *pWnd, bool needKBEvent, bool needMouseEvent):
mpWnd(pWnd), mpPnl(NULL),
mNeedKBEvent(needKBEvent), mNeedMouseEvent(needMouseE
control.c
//************************
// 路径识别部分
//************************
//找到黑线位置,存入diff[SIZE_Y]中
//扫描式黑线查找法
void ScanLine(void){
static signed char left,right; //每一行的搜索范围,左起始和右结束
static sig
control.c
//************************
// 路径识别部分
//************************
//找到黑线位置,存入diff[SIZE_Y]中
//扫描式黑线查找法
void ScanLine(void){
static signed char left,right; //每一行的搜索范围,左起始和右结束
static si