1. Herbert Breunung
  2. Kephra


Herbert Breunung  committed fae20c5

simplify app splitter

  • Participants
  • Parent commits 2fdcfc1
  • Branches default

Comments (0)

Files changed (3)

File lib/Kephra/API.pm

View file
 use strict;
 use warnings;
 use Carp;
+use Kephra::App::Focus;
 use Kephra::App::Window;
-use Kephra::App::Focus;
 use Kephra::Config;
 use Kephra::CommandList;
 use Kephra::DocumentStash;

File lib/Kephra/App/Splitter.pm

View file
 package Kephra::App::Splitter;
 our @ISA = 'Wx::SplitterWindow';
-my $is_widget = Kephra::App::Util::get('is_widget');
 sub new {
-	my( $class, $parent, $children) = @_;
-	$parent = Kephra::API::widget('main_window')
-		unless defined $parent and $is_widget->($parent);
-	my $self = $class->SUPER::new( $parent );
+	my $class = shift;
+	my $parent = shift;
+	my $self = $class->SUPER::new( $parent);
+	my $children = @_;

File lib/Kephra/Internals.pod

View file
 * Kephra::App
+module that handles boot and shutdown sequence
 namespace of all the Wx-GUI-related stuff, all visible parts
-module that handles boot and shutdown sequence
+Kephra::App::* contains the more lower level stuff and 
+Kephra::App::*::* the higher level components
 * Kephra::App::Dialog
 * Kephra::App::Window
+main frame/window and main layout of the app
+holds all the Kephra::App::Part s and Bars
 * Kephra::Config