change text_editor for reducing binary size
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
#ifndef NANA_GUI_WIDGETS_MENU_HPP
|
||||
#define NANA_GUI_WIDGETS_MENU_HPP
|
||||
#include <nana/gui/widgets/widget.hpp>
|
||||
#include "widget.hpp"
|
||||
#include <nana/pat/cloneable.hpp>
|
||||
#include <nana/push_ignore_diagnostic>
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
#ifndef NANA_GUI_WIDGETS_MENUBAR_HPP
|
||||
#define NANA_GUI_WIDGETS_MENUBAR_HPP
|
||||
#include <nana/gui/widgets/widget.hpp>
|
||||
#include <nana/gui/widgets/menu.hpp>
|
||||
#include "widget.hpp"
|
||||
#include "menu.hpp"
|
||||
#include <nana/push_ignore_diagnostic>
|
||||
|
||||
namespace nana
|
||||
|
||||
@@ -99,12 +99,6 @@ namespace nana{ namespace widgets
|
||||
void indent(bool, std::function<std::string()> generator);
|
||||
void set_event(event_interface*);
|
||||
|
||||
/// Determine whether the text_editor is line wrapped.
|
||||
bool line_wrapped() const;
|
||||
|
||||
/// Set the text_editor whether it is line wrapped, it returns false if the state is not changed.
|
||||
bool line_wrapped(bool);
|
||||
|
||||
bool load(const char*);
|
||||
|
||||
/// Sets the text area.
|
||||
@@ -116,7 +110,12 @@ namespace nana{ namespace widgets
|
||||
|
||||
bool tip_string(::std::string&&);
|
||||
|
||||
const attributes & attr() const;
|
||||
/// Returns the reference of listbox attributes
|
||||
const attributes & attr() const noexcept;
|
||||
|
||||
/// Set the text_editor whether it is line wrapped, it returns false if the state is not changed.
|
||||
bool line_wrapped(bool);
|
||||
|
||||
bool multi_lines(bool);
|
||||
|
||||
/// Enables/disables the editability of text_editor
|
||||
|
||||
Reference in New Issue
Block a user