editor.h
来自「3D仿真组实物机器人环境下的机器人模型的设计工具。可以查看和修改现有模型的详细参」· C头文件 代码 · 共 78 行
H
78 行
/*********************************************************************************** In the name of Almighty ** ** Editor.h : Robocup Soccer Simulator Developement Team: Zigorat ** ** Date: 07/08/2007 ** Author: Mahdi Hamdarsi ** Research Coordinator: Amin Mohammadi ** Comments: Generic edit routines like adding node and joint ** ***********************************************************************************//*! \file Editor.h<pre><b>File:</b> Editor.h<b>Project:</b> Robocup Soccer Simulator Developement Team: Zigorat<b>Authors:</b> Mahdi Hamdarsi, Amin Mohammadi<b>Created:</b> 12/02/2001<b>Last Revision:</b> $ID$<b>Contents:</b> Generic edit routines like adding node and joint<hr size=2><h2><b>Changes</b></h2><b>Date</b> <b>Author</b> <b>Comment</b>07/08/2007 Mahdi Hamdarsi Initial version created</pre>*/#ifndef _EDITOR_#define _EDITOR_#include <iostream>#include <gtk/gtk.h>#include "SharedData.h"using namespace std;void UpdateLists( TMessage message );void UpdateNodesTree();void UpdateJointsList();void CreateNewProject();void SaveFile();void ShowFileSaveAs();void ShowFileOpen();void Quit();void onMyEvent(GtkButton *button, gpointer user_data);void onSaveNoClicked();void onSaveYesClicked();gchar * getGtkString( double value );gchar * getGtkString( string value );/// Nodesint GetCurrentNodeIndex();void RemoveCurrentNode();void AddNode( int shape );GtkWidget* InitNodesTreeView();/// Jointsint GetCurrentJointIndex();void RemoveCurrentJoint();void AddJoint(int type);GtkWidget* InitJointsTreeView();void UpdateJointInfo();#endif // _EDITOR_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?