Subversion Repositories Kolibri OS

Rev

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

  1. /*
  2.  * Copyright 2006 Richard Wilson <info@tinct.net>
  3.  *
  4.  * This file is part of NetSurf, http://www.netsurf-browser.org/
  5.  *
  6.  * NetSurf is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; version 2 of the License.
  9.  *
  10.  * NetSurf is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  17.  */
  18.  
  19. /** \file
  20.  * Frame and frameset creation and manipulation (interface).
  21.  */
  22.  
  23. #ifndef _NETSURF_DESKTOP_FRAMES_H_
  24. #define _NETSURF_DESKTOP_FRAMES_H_
  25.  
  26. #include "desktop/browser.h"
  27.  
  28. struct scrollbar_msg_data;
  29.  
  30. void browser_window_create_iframes(struct browser_window *bw,
  31.                 struct content_html_iframe *iframe);
  32. void browser_window_recalculate_iframes(struct browser_window *bw);
  33. void browser_window_create_frameset(struct browser_window *bw,
  34.                 struct content_html_frames *frameset);
  35. void browser_window_recalculate_frameset(struct browser_window *bw);
  36. bool browser_window_frame_resize_start(struct browser_window *bw,
  37.                 browser_mouse_state mouse, int x, int y,
  38.                 browser_pointer_shape *pointer);
  39. void browser_window_resize_frame(struct browser_window *bw, int x, int y);
  40.  
  41. void browser_window_scroll_callback(void *client_data,
  42.                 struct scrollbar_msg_data *scrollbar_data);
  43.  
  44.  
  45. /**
  46.  * Create, remove, and update browser window scrollbars
  47.  *
  48.  * \param  bw    The browser window
  49.  */
  50. void browser_window_handle_scrollbars(struct browser_window *bw);
  51.  
  52. #endif
  53.