// -*- C++ -*- /* * File: math_panel.h * Purpose: Mathed GUI for lyx * Author: Alejandro Aguilar Sierra <asierra@servidor.unam.mx> * Created: March 28, 1996 * * Dependencies: Xlib, Xpm, XForms, Lyx * * Copyright: (c) 1996, Alejandro Aguilar Sierra * * You are free to use and modify it under the terms of * the GNU General Public Licence version 2 or later.
*/
/// Class to manage bitmap menu bars class BitmapMenu { /// static BitmapMenu *active; /// friendint peek_event(FL_FORM *, void *); protected: ///
BitmapMenu *next, *prev; /// int nb; // Number of bitmaps /// int i; // Current bitmap /// int ww; // Border width /// int x, y, w, h; ///
FL_FORM *form; ///
FL_OBJECTP *bitmap; ///
FL_OBJECT *button; public: ///
BitmapMenu(int n, FL_OBJECT* bt, BitmapMenu* prevx=NULL); ///
~BitmapMenu(); ///
FL_OBJECT* AddBitmap(int id, int nx, int ny, int bw, int bh, char* data, Bool vert=True); // Why Bool? /// void Create(); /// void Hide(); /// void Show(); /// void Prev(); /// void Next(); /// int GetIndex(FL_OBJECT* ob);
};
inline void BitmapMenu::Prev() {
Hide(); if (prev)
prev->Show();
}
inline void BitmapMenu::Next() {
Hide(); if (next)
next->Show();
}
#include"math_forms.h"
extern FD_panel * create_math_panel(void);
#endif/* FD_math_panel_h_ */
¤ 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.0.13Bemerkung:
(vorverarbeitet)
¤
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.