Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net>
  3.  * Copyright 2004 James Bursa <bursa@users.sourceforge.net>
  4.  * Copyright 2004 Andrew Timmins <atimmins@blueyonder.co.uk>
  5.  * Copyright 2004 John Tytgat <joty@netsurf-browser.org>
  6.  *
  7.  * This file is part of NetSurf, http://www.netsurf-browser.org/
  8.  *
  9.  * NetSurf is free software; you can redistribute it and/or modify
  10.  * it under the terms of the GNU General Public License as published by
  11.  * the Free Software Foundation; version 2 of the License.
  12.  *
  13.  * NetSurf is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.  * GNU General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU General Public License
  19.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  20.  */
  21.  
  22. /** \file
  23.  * HTML form text input handling (interface)
  24.  */
  25.  
  26. #ifndef _NETSURF_RENDER_TEXTINPUT_H_
  27. #define _NETSURF_RENDER_TEXTINPUT_H_
  28.  
  29. #include <stdbool.h>
  30.  
  31. struct box;
  32. struct content;
  33.  
  34.  
  35. void textinput_textarea_click(struct content *c, browser_mouse_state mouse,
  36.                 struct box *textarea, int box_x, int box_y, int x, int y);
  37.  
  38. void textinput_input_click(struct content *c, struct box *input,
  39.                 int box_x, int box_y, int x, int y);
  40.  
  41. #endif
  42.