Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Lyx/src/   (Lyx Textverarbeitung ©)  Datei vom 21.11.1998 mit Größe 1 kB image not shown  

Quelle  insetinfo.h   Sprache: C

 
// -*- C++ -*-
/* This file is part of*
 * ======================================================
 *
 *           LyX, The Document Processor
 *   
 *     Copyright (C) 1995 Matthias Ettrich
 *
 *======================================================*/


#ifndef _INSET_INFO_H
#define _INSET_INFO_H

#ifdef __GNUG__
#pragma interface
#endif

#include "lyxinset.h"
#include FORMS_H_LOCATION
#include "LString.h"

/** Info. Handles the note insets.
  
  This class handles the note insets. The edit operation bringes up
  a dialog, where the user can type a note about life or something
  else of interest. When collapsed, the inset is displayed as "Note"
  in a yellow box. Currently, the Read-function is a terrible hack. 
  Some day in the distant future, this will hopefully be obsoleted by 
  a true comment-environment. */

class InsetInfo: public Inset {
public:
 ///
 InsetInfo();
 ///
 InsetInfo(LString const & string);
 ///
 ~InsetInfo();
 ///
 int Ascent(LyXFont const &font) const;
 ///
 int Descent(LyXFont const &font) const;
 ///
 int Width(LyXFont const &font) const;
 ///
 void Draw(LyXFont font, LyXScreen &scr, int baseline, float &x);
 ///
 void Write(FILE *file);
 ///
 void Read(LyXLex &lex);
 ///
 int Latex(FILE *file, signed char fragile);
 ///
 int Latex(LString &file, signed char fragile);
 ///
 int Linuxdoc(LString &file);
 /// what appears in the minibuffer when opening
 char const* EditMessage() {return "Opened note";}
 ///
 void Edit(intint);
 ///
 unsigned char Editable() const;
 ///
 Inset::Code LyxCode() const;
 ///
 Inset* Clone();
private:
 ///
 LString contents;
 ///
 FL_FORM *form;
 ///
 FL_OBJECT *strobj;
 ///
 static void CloseInfoCB(FL_OBJECT *, long data);
};

#endif

91%


¤ Dauer der Verarbeitung: 0.20 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.