Ignore:
Timestamp:
Mar 29, 2010, 3:13:30 PM (11 years ago)
Author:
dmik
Message:

branches/kmk: Implemented LuPopplerInputButton? and made it switch state on mouse clicks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/kmk/Lucide/plugins/lupoppler/lupibutton.idl

    r320 r327  
    33
    44#include <luibutton.idl>
     5#include <lupifield.idl>
     6
     7interface FormWidgetButton; // declared in poppler/Form.h
    58
    69/**
     
    912 * This interface exposes the FormWidgetButton poppler class.
    1013 */
    11 interface LuPopplerInputButton : LuInputButton
     14interface LuPopplerInputButton : LuPopplerInputField, LuInputButton
    1215{
     16    void init_widgetButton( inout somInitCtrl ctrl, in LuPopplerDocument aDoc,
     17                            in long aPagenum, in Page aPage,
     18                            in FormWidgetButton aFormWidgetButton );
    1319
    1420#ifdef __SOMIDL__
     
    1622    implementation
    1723    {
     24        releaseorder: init_widgetButton;
     25
     26        init_widgetButton: init;
     27        somDestruct: override;
     28
    1829        getButtonType: override;
    1930        getState: override;
     
    2233        getSiblings: override;
    2334
    24         LuInputButton::ButtonType mButtonType;
    25         boolean mState;
    26         string mText;
     35        FormWidgetButton widget;
     36
     37        passthru C_h_before =  ""
     38            ""
     39            "#include <Form.h>"
     40            "";
     41
     42        passthru C_xh_before =  ""
     43            ""
     44            "#include <Form.h>"
     45            "";
    2746    };
    2847
Note: See TracChangeset for help on using the changeset viewer.