#ifndef INSETCHARSTYLE_H
#define INSETCHARSTYLE_H
-
#include "insetcollapsable.h"
#include "lyxtextclass.h"
- struct InsetCharStyleParams {
+struct InsetCharStyleParams {
///
void write(std::ostream & os) const;
///
class InsetCharStyle : public InsetCollapsable {
public:
///
-
-
InsetCharStyle(BufferParams const &, CharStyles::iterator);
/// Copy constructor
InsetCharStyle(InsetCharStyle const &);
///
void read(Buffer const & buf, LyXLex & lex);
///
- void setButtonLabel();
- ///
void metrics(MetricsInfo &, Dimension &) const;
///
+ void draw(PainterInfo &, int, int) const;
+ ///
void getDrawFont(LyXFont &) const;
///
int latex(Buffer const &, std::ostream &,
protected:
///
- virtual
- DispatchResult
- priv_dispatch(FuncRequest const &, idx_type &, pos_type &);
+ virtual void priv_dispatch(LCursor & cur, FuncRequest & cmd);
private:
+ ///
friend class InsetCharStyleParams;
/// used by the constructors
void init();
///
InsetCharStyleParams params_;
+ ///
+ bool has_label_;
};
#endif