易截截图软件、单文件、免安装、纯绿色、仅160KB
热门标签: c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 最新文章 : c

红外接收(nec)稳定程序 c文件

 /* =========================================================================== */
/* Project:        s3c44b0_lib                           */
/* File:           irda.c                                                  */
/* Organization:   cug-1200525                             */
/* Author:         yuyongbao           &nbs ......

fat16文件系统 c文件

/* =========================================================================== */
/* Project:        mp3 player                */
/* File:           fat16.c                                                  */
/* Organization:   cug-1200525                  */
/* Author:         yuyongbao                       */
/* Date:          ......

wince背光调节 VC代码c文件

// backlightDlg.cpp : implementation file
//
#include "stdafx.h"
#include "backlight.h"
#include "backlightDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CbacklightDlg dialog
CbacklightDlg::CbacklightDlg(CWnd* pParent /*=NULL*/)
 : CDialog(CbacklightDlg::IDD, pParent)
{
 m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}
void CbacklightDlg::DoDataExchange(CDataExchange* pDX)
{
 CDialog::DoDataExchange(pDX);
 DDX_Control(pDX, IDC_SLIDER1, m_slider);
 DDX_Control(pDX, IDC_EDIT1, m_edit);
}
BEGIN_MESSAGE_MAP(CbacklightDlg, CDialog)
#if defined(_DEVICE_RESOLUTION_AWARE) && !defined(WIN32_PLATFORM_WFSP)
 ON_WM_SIZE()
#endif
 //}}AFX_MSG_MAP
 ON_WM_HSCROLL()
END_MESSAGE_MAP()
// CbacklightDlg message handlers
BOOL CbacklightDlg::OnInitDialog()
{
 CDialog::OnInitDialog();
 // Set the icon for this dialog.  The framework does this automatically
 //  when the application's main windo ......

呵呵!一个QT通过贴图实现的模拟时钟 c文件

#include "draw.h"
#include "ui_draw.h"
#include <QPixmap>
draw::draw(QWidget *parent)
    : QDialog(parent), ui(new Ui::draw)
{
    ui->setupUi(this);
//    this->setWindowFlags( Qt::FramelessWindowHint);
    ctrlPoint.setX(this->width() / 2);
    ctrlPoint.setY(this->height() / 2);
    m_pixmap = QPixmap("Skin/Night Blue/main.png");
    m_mainScale = this->width() /((qreal)(m_pixmap.width()))  ;
    m_pixmap = QPixmap("Skin/Night Blue/hour.png");
    m_hourScale = (this->width()/(qreal)2.0 ) / (m_pixmap.width()) ;
    m_pixmap = QPixmap("Skin/Night Blue/min.png");
    m_minScale = (this->width()/(qreal)1.8 ) / (m_pixmap.width()) ;
    m_pixmap = QPixmap("Skin/Night Blue/sec.png");
    m_secScale = (this->width()/(qreal)1.5 ) / (m_pixmap.width ......

qt实现的一个俄罗斯方块的程序 主窗口c文件

//-----------------------------------------------------------------------------------------------------
//BY:yuyongbao
//QQ:673360056
//-----------------------------------------------------------------------------------------------------
#include "tetris.h"
Tetris::Tetris(QWidget *parent)
    : QDialog(parent), ui(new Ui::Tetris)
{
    ui->setupUi(this);
    gameInit();
    this->connect(ui->frame,SIGNAL(scoreChanged(int)),this,SLOT(drawScore(int)));
    this->connect(ui->frame,SIGNAL(nextTetrixChanged()),this,SLOT(nextTetrixChangedProc()));
    this->connect(ui->frame,SIGNAL(gameOver()),this,SLOT(gameEnd()));
}
Tetris::~Tetris()
{
    delete ui;
}
void Tetris::gameInit(void)
{
    m_curScore = 0;
    //总分数以后由文件读入
    m_totalScore = 0;
    m_level = 0;
    ......

qt实现的一个俄罗斯方块的程序 方块区c文件

//-----------------------------------------------------------------------------------------------------
//BY:yuyongbao
//QQ:673360056
//-----------------------------------------------------------------------------------------------------
#include "tetrixboard.h"
/*  ZShape ,          //方块基本形状0-6
    SShape,
    LineShape,
    TShape,
    SquareShape,
    LShape,
    MirroredLShape,
    ZRot1Shape,       //以下是方块翻转后的形状7-19
    SRot1Shape,
    LineRot1Shape,
    TRot1Shape,
    TRot2Shape,
    TRot3Shape,
    SquareRot1Shape,
    LRot1Shape,
    LRot2Shape,
    LRot3Shape,
    MirroredLRot1Shape,
    Mirro ......
总记录数:2015; 总页数:336; 每页6 条; 首页 上一页 [322] [323] [324] [325] 326 [327] [328] [329] [330] [331]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号