|
Rhino C++ API
9.0
|
#include <rhinoSdkEventWatcher.h>
Classes | |
| class | CParameters |
Public Member Functions | |
| CRhinoDocMarkupViewChanged (ON_UUID plugin_id) | |
| CRhinoDocMarkupViewChanged (ON_UUID plugin_id, bool headlessDocAware, bool headlessAppAware) | |
| virtual void | Notify (const class CRhinoDocMarkupViewChanged::CParameters ¶ms)=0 |
Public Member Functions inherited from CRhinoEventWatcherEx | |
| void | Enable (bool bEnable) |
| bool | IsEnabled () const |
| bool | IsHeadlessAppAware () const |
| bool | IsHeadlessDocAware () const |
| bool | IsRegistered () const |
| void | operator delete (void *) |
| void | operator delete (void *, void *) |
| void | operator delete[] (void *) |
| void * | operator new (size_t) |
| new/delete More... | |
| void * | operator new (size_t, void *) |
| in place new/delete More... | |
| void * | operator new[] (size_t) |
| array new/delete More... | |
| bool | Register () |
| bool | Unregister () |
Additional Inherited Members | |
Public Attributes inherited from CRhinoEventWatcherEx | |
| const event_type | m_event_type |
| Type of event being watched. More... | |
| const ON_UUID | m_plugin_id |
| ID of plug-in that is watching. More... | |
| const unsigned int | m_watcher_sn |
| unique runtime serial number for this watcher More... | |
Protected Member Functions inherited from CRhinoEventWatcherEx | |
| CRhinoEventWatcherEx (CRhinoEventWatcherEx::event_type et, ON_UUID plugin_id) | |
| CRhinoEventWatcherEx (CRhinoEventWatcherEx::event_type et, ON_UUID plugin_id, bool headlessDocAware, bool headlessAppAware) | |
| virtual | ~CRhinoEventWatcherEx () |
https://mcneel.myjetbrains.com/youtrack/issue/RH-92369 Fired when a document's markup view state changes, i.e. when the document enters or leaves markup Create/View/Edit mode, or switches which markup is being viewed/edited. Unlike CRhinoDocMarkupTableChanged (which reports table add/delete/modify), this reports the "which markup is currently active" state so UI (e.g. the Markups panel) can indicate it.
|
strong |
| CRhinoDocMarkupViewChanged::CRhinoDocMarkupViewChanged | ( | ON_UUID | plugin_id | ) |
| CRhinoDocMarkupViewChanged::CRhinoDocMarkupViewChanged | ( | ON_UUID | plugin_id, |
| bool | headlessDocAware, | ||
| bool | headlessAppAware | ||
| ) |
|
pure virtual |
Rhino will call Notify() immediately after the document's markup view state changes. WARNING: Never modify the Rhino document in a CRhinoDocMarkupViewChanged::Notify override. If you need to change the Rhino document or post update messages to controls, then your CRhinoDocMarkupViewChanged::Notify should record what happened in an efficient way and then make any changes that are required in a CRhinoIsIdle.Notify() override.
1.8.17