Age | Commit message (Collapse) | Author |
|
|
|
Still plenty to do, but at least it can launch the help viewer now.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Part of the "golden ratio" goodies. It seems to me more pleasing
to the eye if a dialog is not 100% centered in the window, but
rather 1/3 down of available vertical space. I think Mac OS X
also does this.
|
|
* Memo is not a descendant of TfpgBaseEdit.
* Also ControlMediator (TfpgWidget) reported its type as BaseEdit which
was wrong. It should have been TfpgWidget.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
ScrollBars are a special case and require BeginDraw & EndDraw inside
the HandlePaint event because the component also does drawing from
outside the HandlePaint event. eg: When draging the scrollbar button
around.
|
|
|
|
The coordinates of DrawString is the top/left corner of the string.
So the actual text appears below y.
|
|
The mediators are now a lot more streamlined.
Removed lots of code duplications
Changed class namse to be more consistent with tiOPF naming convention.
** This is a CODE BREAKING change **
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
This will be implemented soon.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
So far it's just a "dummy" property that does nothing.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
It's just a handy function instead of FormDesigner <> nil etc...
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
* Added custom options for runtime changing.
* Fixed duplicate OnChange execution. The demo listed to the OnChange
even of both the ColorWheel and ValueBar. This was not needed.
|
|
If the background color was changed at runtime, the cached colorwheel
image never knew about it. So the margin color was changed, but the
color around the colorwheel was not.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
These components will allow us to implement a color selection dialog.
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
|
|
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
Changed all the if statements to if..else statements. Also
improved the Ctrl+UpArrow behaviour.
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
|
|
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
When you Ctrl+RightArrow to jump words, when it reached the end
of a line, it skipped a line and actually jumped two lines down.
Also when the caret landed in the new line it was at position 1
of the line and not at the true beginning of the line position 0.
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
Removed all unused code from method.
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
Left and Right navigation works in TextEdit component.
Ctrl+[Left|Right] navigation for word jumping also works.
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
|
|
This allows you to insert text at the current cursor location. This
just makes it easier for the user and reused the DoPaste which was
initially for Clipboard support.
The is work towards the Character Map support in TfpgEdit popup menu.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|
|
This forms part of the fpg_dialogs.pas unit. There is aslo
a easy access method called fpgShowCharMap and returns the
text selected by the user.
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
|