Age | Commit message (Collapse) | Author |
|
* Implemented MaxWidth and MaxHeight properties.
* Implemented contraint checks on window/widget sizes.
* Fixed the bug with anchor issues inside container widgets.
* Fixed the initial state of PrevWidth/Height/Top/Left and Dirty state.
|
|
components that act like containers (Panel, Form, etc). This optimizes
the Component Alignment calls.
* All resizing calls now get routed through DoUpdateWindowPosition() so
they have a more consistent execution path.
* OnResize now get fired when components get resized, and not just for
Forms.
* HandleAlignments() is now only called when needed.
* Fixed the bug where Alignment didn't work when components are resized
at runtime.
* Removed compiler warnings form gui_mru.pas unit.
* Memo's scrollbar now gets adjusted correctly when it's text
is modified via code.
* Minor bug fix when deleting line in a Memo component. The 'Index out of
Bounds' error still occurs though. That will be fixed shortly.
|
|
changes are required to change all componens from 1-based indexing to 0-based indexing.
|
|
|
|
* Updated the UI Designer so F11 works switching between Properties Editor and Form Designer.
* Updated the UI Designer so that New Form and Size or Position dialog accepts values when Enter is pressed.
|
|
will probably break code, but they are easy to fix in your own code.
* All Grid Columns and Rows are now Longword types and not Integer. We mixed them all over the place, even though the grids do not support negative rows or columns.
* Fixed up the UI Designer because of previous change. Same goes for examples.
* Made some changes to get fpGUI compilable under FPC 2.3.1 (latest trunk), but yet no fpGUI application runs yet. No idea why yet.
|
|
again. Andrew can apply his Memo changes once everything is working on his side.
|
|
left :)
* new testapp using the memo
|
|
* Enabled Font Collections support in the Font Select Dialog. Currently only
the All Fonts and Alias Fonts collections are active.
* TfpgMemo now has a custom internal StringList that will notify the memo of
text changes.
* Made many code improvements to gui_listbox unit. Lots of redundant code
was removed.
* Fixed a bug in gui_listbox where the OnChange event did not fire for all
instances of FocusItem changing.
* Fixed a bug in gui_listbox KeyPress event where it did not take into
account that FocusItem is 1-based.
|
|
* TfpgWidget.TabOrder is now set at creation time.
* Published the TabOrder property for all components that can receive keyboard input.
* Extended the UI Designer so the TabOrder property can be edited.
|
|
* Made many more modifications based on Jean-Marc's patch and fixed a few things missed.
|
|
refactor text input components to share some code.
|
|
* HandleKeyChar has it's first parameter set to TfpgChar. The start of full unicode text input support. At a later date other paramaters will start changing to the new types introduced.
|
|
BackgroupColor property issue.
* I reverted the gui_memo.pas changes from r504 to fix a cursor focus issue when the memo contains no text. I will attend to this issue soon, so we don't have to force adding a blank line.
|
|
TfpgMenu components. It also adds a new BackgroundColor property to TfpgButton.
* Minor fixes to Jean-Marc's patch with button painting.
* The threedee example now uses the new Button.BackgroundColor property.
|
|
* Renamed the Color property to TextColor for RadioButton, Memo, DBLabel, Label, Edit and CheckBox. It's less confusing.
|
|
|
|
properties. In affect you now cannot resize components into the negative
with the UI Designer.
* UI Designer: On deleting a component from a form, resets the
Object Inspector.
* Fixed 'division by zero' errors for the ListView and Memo components
when they get resized to smaller that 2x2 pixels in size.
|
|
* Fixed up TfpgEdit to now use the UTF-8 versions of Insert() and Delete()
which fixes some of the keyboard input issue.
* Removed stacks of compiler warnings all over the place.
* Fixed up the TfpgMemo to now use the UTF-8 versions of Insert() and Delete()
which fixes some of the keyboard input issues.
|
|
The FocusItem property is 1-based and not 0-based like it was
implemented. This is where fpGUI is different from LCL or VCL.
* Created a MaxLength property for TfpgMemo
* Added a comment in gui_combobox so developers know the component
is 1-based. Soon the documentation will also mention this.
|
|
|
|
handle and render text containing Tab characters.
* GUI: Implemented a new MRU (Most Recently Used) component.
* Designer: Modifiend the designer to have a new MRU menu.
* Designer: Extended the designer setup screen so the
user can adjust more options. The designer also saves and restores
those options.
* Designer: The designer now defaults to saving the Name property
of components as well. This might end up being a user selectable
option in the setup screen.
|
|
|
|
form designer.
* Fixed the initial state of scrollbars for various components.
* Implemented more fine grained cursors. Used by the designer for
the resizer buttons.
* Components can now be moved around in the designer form.
* Components can now be placed inside container components like TfpgBevel.
* Treeview doesn't crash the GUI designer anymore, yet the painting is
still not working for it.
* Tab and reverse Tab now work in the GUI designer.
* GUI Designer title bar is now consistent in text format.
|
|
while the parent component is already visible.
* GUI: Introduced the usage of ComponentState so that the components react correctly in the
GUI Designer. Not all components are tested yet.
* GUI Designer almost paints the designed form correctly. When placing a component, they are
invisible, but as soon as you resize them, they are painted correctly. This is still work
|
|
* Memo: Scrollbars now stay in sync with mouse wheel scroll.
|
|
* Minor amendment. When Scrollbar.Position gets set, the Slider gets repainted automatically.
|
|
* TfpgEdit and TfpgMemo now change the mouse cursor correctly.
* The prototypes/fpgui2/tests/edittest project show the mouse cursor in action. A GUI example project will be created soon to show all available cursors.
|
|
* Minor code formatting changes in gui_scrollbar.pas
* Fixed the painting of the little square in the bottom right corner of TfpgMemo and TfpgListView when both scrollbars are shown.
|
|
* Reverted the methods back to using TfpgRect instead of TRect. TfpgRect has better
support for Width and Heigh - required by many Canvas methods.
* Implemented helper functions like InflateRect but support TfpgRect
* Fixed all painting issues and rectangle sizes in all components.
* Fixed up all examples and test projects to compile and work correctly.
* Fixes some clip rectangle issues under Linux. TfpgRect was a big help.
* Changed the method signatures of many Canvas methods to rather use x, y, width and height.
This causes much less confusion and actually less coding in widgets.
|
|
* Implemented Enable/Disbled state in TfpgComboBox.
* Fixed painting issues in TfpgScrollbar and TfpgMemo (tested
under X11).
* Moved SetEnabled and SetVisible in TfpgWidget to protected
and virtual.
|
|
* Fixed a bug in the SetLineStyle which caused
inaccurate line drawing. This eluded me for ages.
* Started the process of removing TfpgRect and replacing
it with the standard Object Pascal TRect.
* Started updating some methods to rather use two sets
of coordinates instead of width and height.
* Added a new test to verify drawing accuracy
* Implemented more line styles under X11
* Fixed up painting issues in widgets (Scrollbar and Memo
are still outstanding)
* Added three new helper functions for use with TRect in
fpgfx.pas (InflateRect, CentrePoint, OffsetRect).
|
|
multi-handle design from the prototypes directory.
|