Home | History | Annotate | Download | only in pdf

Lines Matching defs:Button

5 #include "pdf/button.h"
13 Button::Button()
17 Button::~Button() {
20 bool Button::CreateButton(uint32 id,
46 void Button::Paint(pp::ImageData* image_data, const pp::Rect& rc) {
60 bool Button::HandleEvent(const pp::InputEvent& event) {
64 // Button handles mouse events only.
98 // Since button has not been pressed, return false to allow other
99 // controls (scrollbar) to process mouse button up.
111 void Button::OnEventCaptureReleased() {
115 void Button::Show(bool visible, bool invalidate) {
116 // If button become invisible, remove pressed flag.
122 void Button::AdjustTransparency(uint8 transparency, bool invalidate) {
123 // If button become invisible, remove pressed flag.
129 void Button::SetPressedState(bool pressed) {
136 const pp::ImageData& Button::GetCurrentImage() {
147 void Button::ChangeState(ButtonState new_state, bool force) {
149 // If button is a state button and pressed state is sticky,
150 // user have to click on this button again to unpress it.
163 void Button::OnButtonClicked() {