1. Herbert Breunung
  2. Kephra

Commits

Herbert Breunung  committed 8f40085

remove all the kephra module sheband, will be done with introspection in runtime

  • Participants
  • Parent commits d6255da
  • Branches default

Comments (0)

Files changed (5)

File lib/Kephra.pm

View file
  • Ignore whitespace
 
 package Kephra;
 our $NAME     = __PACKAGE__;    # name of entire application
-our $VERSION  = '0.4.5.7';      # version of ..
+our $VERSION  = '0.4.5.8';      # version of ..
 
 our @external_dependencies = (
 	qw/Benchmark Encode Encode::Guess Cwd/,
 );
 our @used_wx_modules = qw/Wx::AUI Wx::DND Wx::RichText/; # Wx::STC Wx::HTML
 
-our @needed_at_first = qw/App API/;
-our @starttime_loaded_modules = qw/
-	App App::Util API Config Config::Default Config::File
-	Document DocumentStash CommandList Edit EventTable 
-	File KeyMap PluginRegistrar SanddrumInterpreter Works/;
-our @runtime_loaded_namespaces =
-	qw/App::Dialog Config::Default/;
-
-our @command_modules = 
-	qw/App App::Panel::Editor App::Panel::FileBrowser App::Panel::IOUnit
-	App::Panel::OrgPad App::Panel::ProjectManager App::Panel::SratchSheet
-	App::Panel::TextLab App::Panel::TreeLib
-	CommandList Config 
-	Edit File EventTable KeyMap PluginRegistrar SanddrumInterpreter/;
-our @oop_interfaces = 
-	qw/App::Editor App::Panel App::Splitter App::SidePanelController 
-	   App::Bar::Document Document/;
-
 sub start {
 	#start_worker_thread();
 	load_libs();

File lib/Kephra/App/Bar.pm

  • Ignore whitespace
-use strict;
-use warnings;
-
-package Kephra::App::Bar;
-
-
-1;

File lib/Kephra/App/Bar/Search.pm

View file
  • Ignore whitespace
 our @ISA = 'Wx::Panel';
 
 sub new {
-    my( $class, $parent) = @_;
-    my $sb = $class->SUPER::new($parent, -1, [-1,-1],[-1, 30]);
+	my( $class, $parent) = @_;
+	my $sb = $class->SUPER::new($parent, -1, [-1,-1],[-1, 30]);
+
+	my $sizer = Wx::BoxSizer->new( &Wx::wxVERTICAL );
+	$sizer->Add($bar, 1, Wx::wxGROW, 0);
+	$sb->SetSizer($sizer);
+
 
     return $sb;
 }

File lib/Kephra/App/ToolBar.pm

View file
  • Ignore whitespace
+use strict;
+use warnings;
+
+package Kephra::App::ToolBar;
+
+
+1;

File lib/Kephra/Internals.pod

View file
  • Ignore whitespace
 basic command list and the definition which module gets which part of
 the global config (actual loading happens later).
 
-=head2  Worker Fork
+=head2  Worker Fork
+
+=cut
+
+__END__
+
+our @needed_at_first = qw/App API/;
+our @starttime_loaded_modules = qw/
+	App App::Util API Config Config::Default Config::File
+	Document DocumentStash CommandList Edit EventTable 
+	File KeyMap PluginRegistrar SanddrumInterpreter Works/;
+our @runtime_loaded_namespaces =
+	qw/App::Dialog Config::Default/;
+
+our @command_modules = 
+	qw/App App::Panel::Editor App::Panel::FileBrowser App::Panel::IOUnit
+	App::Panel::OrgPad App::Panel::ProjectManager App::Panel::SratchSheet
+	App::Panel::TextLab App::Panel::TreeLib
+	CommandList Config 
+	Edit File EventTable KeyMap PluginRegistrar SanddrumInterpreter/;
+our @oop_interfaces = 
+	qw/App::Editor App::Panel App::Splitter App::SidePanelController 
+	   App::Bar::Document Document/;