X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpage-layout-problem.hh;h=f2b5d6a961184588b368d7887412f55f240a9ba0;hb=3e89af67bc6a9e3fd5d9a28db256608ac79510e0;hp=930109bcf10217906805b1b6e1aacadff81db42f;hpb=9e781b7dc83b60a543ce218aa1a5f139f74c760f;p=lilypond.git diff --git a/lily/include/page-layout-problem.hh b/lily/include/page-layout-problem.hh index 930109bcf1..f2b5d6a961 100644 --- a/lily/include/page-layout-problem.hh +++ b/lily/include/page-layout-problem.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2009--2014 Joe Neeman + Copyright (C) 2009--2015 Joe Neeman LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -37,7 +37,7 @@ public: static bool read_spacing_spec (SCM spec, Real *dest, SCM sym); static bool is_spaceable (Grob *g); static SCM get_details (Grob *g); - static vector get_footnote_grobs (SCM lines); + static std::vector get_footnote_grobs (SCM lines); static vsize get_footnote_count (SCM lines); static SCM get_footnotes_from_lines (SCM lines); static void add_footnotes_to_lines (SCM lines, int counter, Paper_book *pb); @@ -52,24 +52,24 @@ protected: void solve_rod_spring_problem (bool ragged, Real fixed_force); SCM find_system_offsets (); - void distribute_loose_lines (vector const &, vector const &, Real, Real); + void distribute_loose_lines (std::vector const &, std::vector const &, Real, Real); - static void build_system_skyline (vector const &, vector const &, Skyline *up, Skyline *down); - static vector filter_dead_elements (vector const &); + static void build_system_skyline (std::vector const &, std::vector const &, Skyline *up, Skyline *down); + static std::vector filter_dead_elements (std::vector const &); // This is a union (in spirit). // Either staves must be empty or prob must be null. typedef struct Element { Prob *prob; - vector staves; - vector min_offsets; + std::vector staves; + std::vector min_offsets; // Store the appropriate '*-*-spacing 'padding, and skyline-distance, // considering indentation, from the previous system. Real min_distance; Real padding; - Element (vector const &a, vector const &o, Real m, Real p) + Element (std::vector const &a, std::vector const &o, Real m, Real p) { staves = a; min_offsets = o; @@ -93,9 +93,9 @@ protected: static void alter_spring_from_spacing_spec (SCM spec, Spring *spring); static void mark_as_spaceable (Grob *); - vector springs_; - vector elements_; - vector solution_; + std::vector springs_; + std::vector elements_; + std::vector solution_; Real force_; Skyline bottom_skyline_; Real bottom_loose_baseline_;