Subversion Repositories Kolibri OS

Rev

Rev 3584 | Blame | Last modification | View Log | RSS feed

  1. /*
  2.  * Copyright 2005 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.  * HTML lists (interface).
  21.  */
  22.  
  23. #ifndef _NETSURF_RENDER_LIST_H_
  24. #define _NETSURF_RENDER_LIST_H_
  25.  
  26. #include <stdbool.h>
  27.  
  28. #include "css/css.h"
  29.  
  30. void render_list_destroy_counters(void);
  31. bool render_list_counter_reset(const char *name, int value);
  32. bool render_list_counter_increment(const char *name, int value);
  33. bool render_list_counter_end_scope(const char *name);
  34. char *render_list_counter(const css_computed_content_item *css_counter);
  35.  
  36. void render_list_test(void);
  37.  
  38. #endif
  39.