~ubuntu-branches/ubuntu/quantal/texmacs/quantal

« back to all changes in this revision

Viewing changes to src/Typeset/Boxes/Basic/boxes.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Atsuhito KOHDA
  • Date: 2010-04-23 07:09:40 UTC
  • mfrom: (4.1.8 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100423070940-72mjdmdepfgrvo8f
Tags: 1:1.0.7.4-2
Re-upload, former upload failed with wrong diff.gz perhaps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#include "boxes.hpp"
13
13
#include "formatter.hpp"
14
14
#include "Graphics/point.hpp"
15
 
#include "timer.hpp"
16
15
#include "printer.hpp"
17
16
#include "file.hpp"
18
17
#include "merge_sort.hpp"
583
582
  return ! (cu1 == cu2);
584
583
}
585
584
 
586
 
ostream&
587
 
operator << (ostream& out, cursor cu) {
 
585
tm_ostream&
 
586
operator << (tm_ostream& out, cursor cu) {
588
587
  out << "cursor (" << (cu->ox>>8) << ", " << (cu->oy>>8) << ": "
589
588
      << cu->delta << ": "
590
589
      << (cu->y1>>8) << ", " << (cu->y2>>8) << ": "
617
616
  return !(sel1 == sel2);
618
617
}
619
618
 
620
 
ostream&
621
 
operator << (ostream& out, selection sel) {
 
619
tm_ostream&
 
620
operator << (tm_ostream& out, selection sel) {
622
621
  return out << "selection (" << sel->start << ", " << sel->end << ")";
623
622
}
624
623
 
633
632
  rep->dist= dist;
634
633
}
635
634
 
636
 
ostream&
637
 
operator << (ostream& out, gr_selection sel) {
 
635
tm_ostream&
 
636
operator << (tm_ostream& out, gr_selection sel) {
638
637
  return out << "gr_selection (" << sel->dist << ", " << sel->cp << ")";
639
638
}
640
639
 
778
777
bool box::operator != (box b2) { return rep!=b2.rep; }
779
778
 
780
779
box::operator tree () { return tree (*rep); }
781
 
ostream& operator << (ostream& out, box b) { return out << ((tree) b); }
 
780
tm_ostream& operator << (tm_ostream& out, box b) { return out << ((tree) b); }
782
781
 
783
782
path
784
783
descend_decode (path ip, int side) {