aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-07-11 23:05:02 +0000
committergroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-07-11 23:05:02 +0000
commit30efbba1929b0bf0b2e06a62ec91498595d2a936 (patch)
tree1da46f5cfa59b5b2f63917d77398dd73ccc3327d /lib
parent4ad1eed3fe0f8a90080c63ec474e4634376f0f95 (diff)
downloadreaction-30efbba1929b0bf0b2e06a62ec91498595d2a936.tar.gz
reaction-30efbba1929b0bf0b2e06a62ec91498595d2a936.zip
add some comments in case someone has a hissy fit about MVC blah blah
Diffstat (limited to 'lib')
-rw-r--r--lib/Reaction/UI/View.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Reaction/UI/View.pm b/lib/Reaction/UI/View.pm
index f81929d..44ab16a 100644
--- a/lib/Reaction/UI/View.pm
+++ b/lib/Reaction/UI/View.pm
@@ -61,6 +61,18 @@ sub render_window {
my ($widget, $args) = $self->render_viewport_args($root_vp);
$widget->render(widget => $rctx, $args);
};
+
+# From 2007-07-11 @ #reaction (so don't blame me if you think this violates some stupid school of thought)
+#15:09 <@groditi> mst: one quick thing though. do you remember what layout_args is?
+#15:10 <@mst> isn't it crap to be passed to the top level widget render?
+#15:11 <@groditi> that's what i thought..
+#15:11 <@groditi> but it's kind of a no-op. there's an attr but nothing uses it
+#15:11 <@groditi> i cant figure out if the data you give it ends up going anywhere
+#15:12 <@groditi> although it'd be cool if anything you put there ended up being part of %_ in layout/widget land
+#15:12 <@groditi> which would solve so fucking many of my gripes with widget/layout
+#15:14 <@mst> I thought that was what it was supposed to do
+#15:14 <@mst> wire it up :)
+
sub render_viewport_args {
my ($self, $vp) = @_;
my $layout_set = $self->layout_set_for($vp);