lyx_mirror/src/frontends
Jean-Marc Lasgouttes 62b06c64ed Use the same code for editable and non-editable buttons
This removes the use of rectText in RenderButton. The fact that this
gave different spacing than buttonText was a problem.

Now buttonText requires to specify
* the offset, so that INSET_TO_TEXT_OFFSET is not used anymore in
  src/frontends/, which will be useful later.
* the background and frame color, in replacement for the hover state.

Remove the methods button() and buttonFrame() from GuiPainter.

Remove some unused header files.

Fixes bug #10704.
2017-06-15 15:40:30 +02:00
..
qt4 Use the same code for editable and non-editable buttons 2017-06-15 15:40:30 +02:00
tests Cmake build: Project names *should* be uniq 2017-03-30 14:01:56 +02:00
.gitignore
alert.h
Application.h Unhide buffers that are marked dirty as a result of external modifications 2017-06-11 19:51:17 +02:00
Clipboard.h
CMakeLists.txt
Delegates.h
FontLoader.h
FontMetrics.h Use the same code for editable and non-editable buttons 2017-06-15 15:40:30 +02:00
KeyModifier.h
KeySymbol.h
Makefile.am
mouse_state.h
Painter.h Use the same code for editable and non-editable buttons 2017-06-15 15:40:30 +02:00
Selection.h
WorkArea.h
WorkAreaManager.cpp Unhide buffers that are marked dirty as a result of external modifications 2017-06-11 19:51:17 +02:00
WorkAreaManager.h Unhide buffers that are marked dirty as a result of external modifications 2017-06-11 19:51:17 +02:00