t_passive.cpp File Reference

#include "t_passive.h"
#include <basis/guards.h>
#include <basis/portable.h>
#include <opsystem/application_shell.h>
#include <loggers/console_logger.h>
#include <data_struct/static_memory_gremlin.h>
#include <wp_passive/argument_list.h>
#include <wp_passive/box.h>
#include <wp_passive/canvas.h>
#include <wp_passive/dot.h>
#include <wp_passive/label.h>
#include <wp_passive/manager.h>
#include <wp_passive/oval.h>
#include <wp_passive/ring.h>
#include <wp_passive/visible_line.h>
#include <stdio.h>

Include dependency graph for t_passive.cpp:

Go to the source code of this file.

Defines

#define LOG(s)   program_wide_logger().log(s)

Functions

void getkey (manager &root)
template<class content>
void random_reposition (content &target, chaos &randomizer)
void four_corner_root (manager &root)
void four_corner_canvas (canvas &testwin, manager &root)
void query_desktop (manager &root)
void query_manager (manager &root)
void query_canvas (canvas &testwin, manager &root)


Define Documentation

#define LOG (  )     program_wide_logger().log(s)

Definition at line 25 of file t_passive.cpp.


Function Documentation

void four_corner_canvas ( canvas testwin,
manager root 
)

Definition at line 64 of file t_passive.cpp.

References c_rectangle, worker::dimensions(), and getkey().

void four_corner_root ( manager root  ) 

Definition at line 50 of file t_passive.cpp.

References c_rectangle, default_manager_size, manager::dimensions(), and getkey().

void getkey ( manager root  ) 

Definition at line 27 of file t_passive.cpp.

References LOG.

Referenced by four_corner_canvas(), and four_corner_root().

void query_canvas ( canvas testwin,
manager root 
)

Definition at line 116 of file t_passive.cpp.

References c_point, c_rectangle, deadly_error, manager::device_to_universe(), canvas::device_to_world(), worker::dimensions(), LOG, manager::universe_to_device(), canvas::world(), and canvas::world_to_device().

void query_desktop ( manager root  ) 

Definition at line 78 of file t_passive.cpp.

References c_point, deadly_error, desktop::device_coordinate_system(), desktop::device_to_view(), LOG, desktop::view_coordinate_system(), and desktop::view_to_device().

void query_manager ( manager root  ) 

Definition at line 96 of file t_passive.cpp.

References c_point, c_rectangle, deadly_error, manager::device_to_universe(), manager::dimensions(), LOG, manager::universe(), manager::universe_to_device(), and desktop::view_to_device().

template<class content>
void random_reposition ( content &  target,
chaos randomizer 
)

Definition at line 36 of file t_passive.cpp.

References c_rectangle, and chaos::inclusive().


Generated on Sat Aug 30 04:32:57 2008 for HOOPLE Libraries by  doxygen 1.5.1