24#ifndef HTML_DIR_TREE_HPP
25#define HTML_DIR_TREE_HPP
38#include "html_div.hpp"
41#include "archive_init_list.hpp"
42#include "html_button.hpp"
43#include "html_focus.hpp"
44#include "html_table.hpp"
108 virtual void on_event(
const std::string & event_name)
override;
121 static const std::string event_shrink;
122 static const std::string event_expand;
123 static const std::string event_click;
130 bool visibility_has_changed;
131 std::vector<html_dir_tree *> subdirs;
144 void init(
const std::string &
chemin);
145 void go_init_indent();
147 void clear_contents();
class of object that are pointed/triggered to by others
Definition: actor.hpp:55
this objects is a thread object that provide access to the content of an existing archive
Definition: archive_init_list.hpp:55
class chemin definition
Definition: chemin.hpp:51
class html_dir_tree show a directory content read from an existing dar archive
Definition: html_dir_tree.hpp:76
void set_drop_path(html_div *ref)
where to write the path when under focus
Definition: html_dir_tree.hpp:96
virtual std::string inherited_get_body_part(const chemin &path, const request &req) override
inherite from html_div
Definition: html_dir_tree.cpp:231
void go_expand()
expand the directory exposing all its subdirectories
Definition: html_dir_tree.cpp:186
void set_source(const archive_init_list *ref)
where to fetch from archive content
Definition: html_dir_tree.cpp:160
void clear()
clear information learnt from a previously opened archive
Definition: html_dir_tree.cpp:139
void go_show()
show contents in the focus place
Definition: html_dir_tree.hpp:105
void set_drop_content(html_focus *ref)
where to attach to the archive contents when "this" is selected
Definition: html_dir_tree.hpp:93
void go_shrink()
shrink the directory
Definition: html_dir_tree.cpp:175
virtual void new_css_library_available() override
inherited from body_builder
Definition: html_dir_tree.cpp:336
virtual void on_event(const std::string &event_name) override
inherited from actor
Definition: html_dir_tree.cpp:209
class html_div is the implementation of
Definition: html_div.hpp:46
html_focus class provides a mean to temporarily have an object show at a particular place in a page
Definition: html_focus.hpp:50
html component implementing the html table structure
Definition: html_table.hpp:52
class holding fields of an HTTP request (method, URI, header, cookies, and so on)
Definition: request.hpp:45