diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-11-29 10:16:30 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-11-29 10:45:00 +0200 |
commit | 050fe83b0041cbe3fac78199dbb87c32d1298e33 (patch) | |
tree | b893212d3aadf4489a04a06b03b1d95285e032c2 /src | |
parent | a0d425adbe572eebc3c4631c2bc0a23190d060c9 (diff) | |
download | fpGUI-050fe83b0041cbe3fac78199dbb87c32d1298e33.tar.xz |
move declaration of TfpgEditBorderStyle so it is more accessible.
This now makes it easier to reuse this border style declaration in other
widgets. We need to refactor some other widgets too, that have there own
border styles as well.
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/fpg_base.pas | 3 | ||||
-rw-r--r-- | src/gui/fpg_edit.pas | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/fpg_base.pas b/src/corelib/fpg_base.pas index c982e019..196b820c 100644 --- a/src/corelib/fpg_base.pas +++ b/src/corelib/fpg_base.pas @@ -76,6 +76,9 @@ type TfpgDropAction = (daIgnore, daCopy, daMove, daLink, daAsk); TfpgDropActions = set of TfpgDropAction; + TfpgEditBorderStyle = (ebsNone, ebsDefault, ebsSingle); + + const MOUSE_LEFT = 1; MOUSE_RIGHT = 3; diff --git a/src/gui/fpg_edit.pas b/src/gui/fpg_edit.pas index 9b0f2472..6b60e794 100644 --- a/src/gui/fpg_edit.pas +++ b/src/gui/fpg_edit.pas @@ -39,8 +39,6 @@ uses fpg_menu; type - TfpgEditBorderStyle = (ebsNone, ebsDefault, ebsSingle); - TfpgBaseEdit = class(TfpgWidget) private |