Back to index

texmacs  1.0.7.15
Classes | Functions
lazy_gui.cpp File Reference
#include "Line/lazy_typeset.hpp"
#include "Line/lazy_vstream.hpp"
#include "Format/format.hpp"
#include "Stack/stacker.hpp"
#include "Boxes/construct.hpp"
#include "analyze.hpp"
#include "Concat/canvas_properties.hpp"

Go to the source code of this file.

Classes

struct  lazy_canvas_rep
struct  lazy_canvas
struct  lazy_ornament_rep
struct  lazy_ornament

Functions

 EXTEND_NULL_CODE (lazy, lazy_canvas)
lazy make_lazy_canvas (edit_env env, tree t, path ip)
 EXTEND_NULL_CODE (lazy, lazy_ornament)
lazy make_lazy_ornament (edit_env env, tree t, path ip)

Function Documentation

lazy make_lazy_canvas ( edit_env  env,
tree  t,
path  ip 
)

Definition at line 134 of file lazy_gui.cpp.

                                                 {
  canvas_properties props= get_canvas_properties (env, t);
  lazy par= make_lazy (env, t[6], descend (ip, 6));
  return lazy_canvas (props, par, ip);
}

Here is the call graph for this function:

Here is the caller graph for this function:

lazy make_lazy_ornament ( edit_env  env,
tree  t,
path  ip 
)

Definition at line 210 of file lazy_gui.cpp.

                                                   {
  SI    w     = env->get_length (ORNAMENT_BORDER);
  SI    xpad  = env->get_length (ORNAMENT_HPADDING);
  SI    ypad  = env->get_length (ORNAMENT_VPADDING);
  tree  bg    = env->read       (ORNAMENT_COLOR);
  int   a     = env->alpha;
  color sunny = env->get_color  (ORNAMENT_SUNNY_COLOR);
  color shadow= env->get_color  (ORNAMENT_SHADOW_COLOR);
  lazy  par   = make_lazy (env, t[0], descend (ip, 0));
  return lazy_ornament (env, par, ip, w, xpad, ypad, bg, a, sunny, shadow);
}

Here is the call graph for this function:

Here is the caller graph for this function: