📄 editor.h
字号:
/*********************************************************************************** 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -