CCInfoPlugin show license toolbar button object. More...
Inherits AcrobatCommand.

Public Member Functions | |
| ShowLicenseButton (CCInfoPlugin *pPlugin) | |
| virtual void | OnCommand () |
| virtual bool | IsEnabled () |
| virtual ASText | GetTooltip (ASBool bEnabled) |
| Returns the license text as the tooltip for the button. | |
Protected Member Functions | |
| AVIcon | GetIcon () |
| Retrieves the toolbar button image. | |
CCInfoPlugin show license toolbar button object.
Definition at line 104 of file CCInfoPlugin.cpp.
| ShowLicenseButton::ShowLicenseButton | ( | CCInfoPlugin * | pPlugin | ) | [inline] |
Constructor
Definition at line 110 of file CCInfoPlugin.cpp.
| AVIcon ShowLicenseButton::GetIcon | ( | ) | [protected] |
Retrieves the toolbar button image.
Definition at line 135 of file CCInfoPlugin.cpp.
References gHINSTANCE.
| ASText ShowLicenseButton::GetTooltip | ( | ASBool | bEnabled | ) | [virtual] |
Returns the license text as the tooltip for the button.
| bEnabled | true if the button is enabled |
Reimplemented from AcrobatCommand.
Definition at line 148 of file CCInfoPlugin.cpp.
References AcrobatPluginInfo::GetPluginInfo(), AcrobatPluginInfo::LoadTextFromResource(), and AcrobatPluginInfo::MakeASText().
| virtual bool ShowLicenseButton::IsEnabled | ( | ) | [inline, virtual] |
Always enabled when there's a document, disabled when there's none
Reimplemented from AcrobatCommand.
Definition at line 122 of file CCInfoPlugin.cpp.
References AcrobatPluginInfo::GetPluginInfo().
| virtual void ShowLicenseButton::OnCommand | ( | ) | [inline, virtual] |
Called when the toolbar button is selected; displays the license dialog
Implements AcrobatCommand.
Definition at line 116 of file CCInfoPlugin.cpp.
References AcrobatPluginInfo::GetPluginInfo().
1.6.1