• 大小: 9.82MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-14
  • 语言: 其他
  • 标签: MiniGUI  uCOS  

资源简介

详细介绍MiniGUI移植到uCOS 移植的过程和代码

资源截图

代码片段和文件信息

/*
 * \file dti.c
 * \author Wei Yongming 
 * \date 1998/12/xx
 *
 * This file defines the desktop interface funtions.  You should always 
 * include the file in your projects for MiniGUI-Threads.
 *
 \verbatim
    Copyright (C) 1999-2002 Wei Yongming.
    Copyright (C) 2002-2004 Feynman Software.
  
    This file is part of MiniGUI a compact cross-platform Graphics 
    User Interface (GUI) support system for real-time embedded systems.

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not write to the Free Software
    Foundation Inc. 59 Temple Place Suite 330 Boston MA  02111-1307  USA

 \endverbatim
 */

/*
 * $Id: dti.cv 1.21 2004/07/31 10:05:40 weiym Exp $
 *
 *             MiniGUI for Linux uClinux eCos uC/OS-II and VxWorks version 1.6.x
 *             Copyright (C) 1998-2002 Wei Yongming.
 *             Copyright (C) 2002-2004 Feynman Software.
 */

#include 
#include 
#include 

#include 
#include 
#include 
#include 

#ifndef _LITE_VERSION

#ifdef __ECOS__
int minigui_entry (int argc const char* argv[]);
int main (int argc const char* argv[])
{
    return minigui_entry (argc argv);
}
#endif

#ifdef __WINBOND_SWLINUX__

int minigui_entry (int argc const char* argv[]);

int start_minigui (char **data)
{
    return minigui_entry (0 NULL);
}

int user_thread(int (*)(char **) char ** unsigned long); //extern
void Start ( void )
{
    user_thread(start_minigui(char**)NULL0);
}

#endif /* __WINBOND_SWLINUX__ */

/*
 * MiniGUI will call PreInitGUI on startup time. 
 * You can do something before GUI by implementing this function.
 * Please return TRUE to continue initialize MiniGUI.
 */
#ifndef DONT_USE_SYS_PREINITGUI
BOOL PreInitGUI (int args const char* arg [] int* retp)
{
    return TRUE;
}
#endif

/*
 * MiniGUI will call PostTerminateGUI after switch text mode.
 * You can do something after GUI by implementing this function.
 * rcByGUI will be the return code of this program.
 */
#ifndef DONT_USE_SYS_POSTTERMINATEGUI
int PostTerminateGUI (int args const char* arg [] int rcByGUI)
{
    return rcByGUI;
}
#endif

/*
 * When the user clicks right mouse button on desktop 
 * MiniGUI will display a menu for user. You can use this 
 * function to customiz

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     492611  2005-07-04 17:43  MiniGUI-STR_uCOS\MiniGUI_for_uCOS实验.pdf

     文件       3887  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\arm\IRQ.inc

     文件       5650  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\arm\OS_CPU.H

     文件       9932  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\arm\Os_cpu_a.s

     文件      16355  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\arm\Os_cpu_c.c

    ...D..R         0  2006-05-02 22:56  MiniGUI-STR_uCOS\uCOS-II\arm

     文件        153  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\SOURCE\README.txt

    ...D..R         0  2006-05-02 22:56  MiniGUI-STR_uCOS\uCOS-II\SOURCE

     文件    9211564  2005-07-06 13:38  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\MiniGUI_Lib.a

     文件      19028  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\MiniGUI_config.h

     文件     602972  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\libextc.a

     文件      35890  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\common.h

     文件     164702  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\control.h

     文件       4192  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\dti.c

     文件      24078  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\endianrw.h

     文件      17857  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\fixedmath.h

     文件     223290  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\gdi.h

     文件       6957  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\mgdrv-ucosii.c

     文件      69519  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\minigui.h

     文件      25435  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\own_malloc.h

     文件       3007  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\own_stdio.h

     文件      16624  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\pthread.h

     文件       3140  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\semaphore.h

     文件     205051  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include\window.h

    ...D..R         0  2006-05-02 22:57  MiniGUI-STR_uCOS\uCOS-II\MiniGUI\include

    ...D..R         0  2006-05-02 22:56  MiniGUI-STR_uCOS\uCOS-II\MiniGUI

     文件     263151  2005-07-06 13:45  MiniGUI-STR_uCOS\uCOS-II\GUI_Sample\GUI_Sample.mcp

     文件        271  2005-07-02 12:23  MiniGUI-STR_uCOS\uCOS-II\GUI_Sample\ZLG_BOOT.INI

     文件      12219  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\GUI_Sample\src\I2C.c

     文件       3541  2005-06-03 14:56  MiniGUI-STR_uCOS\uCOS-II\GUI_Sample\src\I2C.h

............此处省略341个文件信息

评论

共有 条评论