📄 model_gtk.h
字号:
// This file is part of MANTIS OS, Operating System// See http://mantis.cs.colorado.edu///// Copyright (C) 2003-2005 University of Colorado, Boulder//// This program is free software; you can redistribute it and/or// modify it under the terms of the mos license (see file LICENSE)#include "bionet.h"typedef void (*model_add_node_f)(bionet_node_t *node);typedef void (*model_remove_node_f)(bionet_node_t *node);typedef void (*model_add_hab_f)(bionet_hab_t *hab);typedef void (*model_remove_hab_f)(bionet_hab_t *hab);typedef void (*model_update_resource_f)(bionet_resource_t *resource);typedef void (*model_select_node_f)();typedef void (*model_unselect_node_f)();typedef void (*model_select_hab_f)(bionet_hab_t *hab);typedef void (*model_unselect_hab_f)();void model_add_node_register_func(model_add_node_f func);void model_add_node(bionet_node_t *node);void model_remove_node_register_func(model_remove_node_f func);void model_remove_node(bionet_node_t *node);void model_add_hab_register_func(model_add_hab_f func);void model_add_hab(bionet_hab_t *hab);void model_remove_hab_register_func(model_remove_hab_f func);void model_remove_hab(bionet_hab_t *hab);void model_update_resource_register_func(model_update_resource_f func);void model_update_resource(bionet_resource_t *resource);void model_select_node_register_func(model_select_node_f func);void model_select_node(bionet_node_t *node);void model_unselect_node_register_func(model_unselect_node_f func);void model_unselect_node(bionet_node_t *node);void model_select_hab_register_func(model_select_hab_f func);void model_select_hab(bionet_hab_t *hab);void model_unselect_hab_unregister_func(model_unselect_hab_f func);void model_unselect_hab(bionet_hab_t *hab);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -