⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mooout.h

📁 学习 open inventor 的例子
💻 H
字号:
/**************************************************************************\ * *  This file is part of a set of example programs for the Coin library. *  Copyright (C) 2000-2003 by Systems in Motion. All rights reserved. * *                   <URL:http://www.coin3d.org> * *  This sourcecode can be redistributed and/or modified under the *  terms of the GNU General Public License version 2 as published by *  the Free Software Foundation. See the file COPYING at the root *  directory of the distribution for more details. * *  As a special exception, all sourcecode of the demo examples can be *  used for any purpose for licensees of the Coin Professional *  Edition License, without the restrictions of the GNU GPL. See our *  web pages for information about how to acquire a Professional Edition *  License. * *  Systems in Motion, <URL:http://www.sim.no>, <mailto:support@sim.no> *\**************************************************************************/// File: MooOut.h// Interface class#ifndef MOO_OUT_H#define MOO_OUT_Hclass MooString;class MooOut{public:  MooOut( void );                     // constructor  ~MooOut( void );                    // destructor  void out( MooString & string );     // output string  void out( const char * string );    // output string  void out( const char c );           // output char  void nl( void );                    // newline  void back( void );                  // remove previous char  void * pixels( void );              // get pixelbuffer  void render( void );                // render charbuffer to pixelbuffer  void render( char c,                // render character to pixelbuffer    unsigned int line,    unsigned int column );  void cursor( );                     // update cursorprotected:private:  char buffer[25][80];  unsigned int texture[1024 * 512];  unsigned int color;  unsigned int background;  unsigned int column;  unsigned int line;};#endif // !MOO_OUT_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -