summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-09-23Adds some application wide variables that we need for tracking XDND data.Graeme Geldenhuys
2010-09-23adds new utility function fpgIsBitSet() to check if a specific Bit is set in ↵Graeme Geldenhuys
a value.
2010-09-23Fix variable types for XGetWindowProperty calls.Graeme Geldenhuys
We must use C-types and not Pascal-types.
2010-09-23Adds new boolean property AcceptDrops to TfpgWidget.Graeme Geldenhuys
This will enable/disable drop support per widget.
2010-09-23Implemented abstract DoEnableDrops() method.Graeme Geldenhuys
Also defined a few new types and TAtoms we will need for XDND support.
2010-09-23New types and message constants for DND support.Graeme Geldenhuys
Also includes an abstract method that must be implemented by each backend to enabled DND for components or forms.
2010-09-23memo: forgot to reset selection variables after a clipboard Cut action.Graeme Geldenhuys
2010-09-23memo: reduced code by simply using ResetSelectionVariables() instead.Graeme Geldenhuys
2010-09-23memo: Paste bugfix.Graeme Geldenhuys
Pasting text that consisted of multiple lines wasn't inserted on the correct lines. Resulting in pasted lines being in reverse order.
2010-09-23memo: ResetSelectionVariables was incomplete.Graeme Geldenhuys
2010-09-23memo: minor optimization - SomethingSelected is only called once now.Graeme Geldenhuys
2010-09-23memo: Implemented SelectionText() function.Graeme Geldenhuys
Also improved DoCopy to rather use SelectionText instead of duplicating code.
2010-09-22memo: implemented clipboard support with default popup menu support.Graeme Geldenhuys
2010-09-21Two new helper routines [fpgPoint() and fpgSize()] and lots of operator ↵Graeme Geldenhuys
overloading
2010-09-21cl_BaseNamedColor should be a index number, not really a TfpgColor type.Graeme Geldenhuys
2010-09-21Two new types introduced: TfpgPoint and TfpgSizeGraeme Geldenhuys
The are of type "object" for static allocation, and includes easy initialization methods, and TfpgPoint introduces ManhattanLength (easy and quick way to determine distance between two points). See the class documentation for more information on ManhattanLength.
2010-09-21Removed compiler warnings.Graeme Geldenhuys
2010-09-21DrawButtonFace(): Improved the look of Flat=True buttonsGraeme Geldenhuys
Flat=True (toolbar) style buttons now have a thinner border when the mouse hovers over them. They also have an improved look in Down=True state.
2010-09-21panel/bevel: corrected the shadow color used in box/panel styleGraeme Geldenhuys
2010-09-21Button: Flat=True (toolbar) buttons are now painted as such in the uidesignerGraeme Geldenhuys
This makes them easily distinguishable between normal buttons.
2010-09-20Add some programmer comments in X11 backend code.Graeme Geldenhuys
2010-09-20KeyPress events is now distributed to Widgets, then Form, then fpgApplicationGraeme Geldenhuys
* KeyPress is first offered to the focused widget * If not consumed, then to parent, then parent.parent etc.. * if still not consumed, then to top level form * if still not consumed, then to fpgApplication If anywhere in the sequence Consumed = True, then distribution of that event is stopped. This is the basic foundation required for various keyboard shortcut handling, actions shortcut handling, and especially in menus. The latter still needs some work though.
2010-09-20TfpgMessageBox now supports font selectionGraeme Geldenhuys
* we can now adjust the font used via the FontDesc property. This is handy when using fixed width fonts and displaying quick keyboard shortcut help.
2010-09-20Introduced code page conversion routinesGraeme Geldenhuys
fpg_stringutils unit now has various code page conversion routines * CP437ToUTF8 * CP850ToUTF8 * IBMGraphToUTF8 - special encoding often used under OS/2 * IPFToUTF8 - special conversion for use with DocView and old OS/2 INF files.
2010-09-20Moved GetClientRect() and GetBoundsRect() out of TfpgWidget into TfpgBaseWindowGraeme Geldenhuys
Now these functions are accessible to platform specific code too.
2010-09-20Set default property values for TfpgColorListBoxGraeme Geldenhuys
This affected HotTrack, PopupFrame and ColorPalette properties.
2010-09-12treeview: Adds PgUp/PgDown key handling supportGraeme Geldenhuys
2010-09-12treeview: bug fix in node painting.Graeme Geldenhuys
* fixed offset that node image was painted * fixed offset that node text was painted * fixed offset that selected node rectangle was painted
2010-09-12treeview: Mouse wheel scroll, now scrolls 1/3 of height, and not 1 pixelGraeme Geldenhuys
2010-09-12treeview: up/down scrollbar buttons now scroll one line and not one pixel.Graeme Geldenhuys
2010-09-12Select Directory Dialog: bug fix - anchors for treeview was not set.Graeme Geldenhuys
2010-09-12Select Directory Dialog: now has images with the folder nodes in treeviewGraeme Geldenhuys
2010-09-11File Open/Save Bookmark dialog: minor grid speed improvement.Graeme Geldenhuys
2010-09-11Grid horizontal scrollbar thumb button size improvement.Graeme Geldenhuys
This patch improves the default scrollbar thumb button size calculation (SliderSize value).
2010-09-05File Dialog: grid now shows alternative row colors and does smooth scrolling ↵Graeme Geldenhuys
horizontally. * These type of options should actually be set in a global fpGUI Configure application - so it affects all fpGUI based apps, and more importantly, is user selectable. Added to my todo list. :-)
2010-09-05Input Query Dialog: minor bug fix - now only sets return Value if OK was ↵Graeme Geldenhuys
clicked.
2010-09-05Input Query Dialog: let it respond to Enter keypress as if OK button was ↵Graeme Geldenhuys
clicked.
2010-09-05file dialog: adds a Configure Bookmarks dialog and updated resource strings.Graeme Geldenhuys
2010-09-05Message Dialog: reworked dialog to be maintained by Visual Forms Designer.Graeme Geldenhuys
2010-09-04fixed minor memory leak in File Dialog.Graeme Geldenhuys
2010-09-04file dialog: Added 'Home' and 'Bookmarks' support.Graeme Geldenhuys
2010-09-04fpg_utils: Added a new function that returns a config directory for fpGUI ↵Graeme Geldenhuys
framework itself. This will be used by the File Dialog and Font Select dialog.
2010-09-04fpg_utils: Added two new RTL wrapper functions.Graeme Geldenhuys
2010-09-04Speed up grid scrolling with mouse wheel x3Graeme Geldenhuys
2010-09-04New string utility function fpgTrimR() which trims text on right only.Graeme Geldenhuys
2010-09-04Added two new standard images: Home folder and Bookmarks iconsGraeme Geldenhuys
2010-09-04Replaced some RTL functions with fpGUI wrapper ones to handle Unicode text.Graeme Geldenhuys
2010-09-04Rearranged some constants and moved fpgAddColon() to fpg_utils unit.Graeme Geldenhuys
* Also added some new constants for future use.
2010-09-03fpmake: updated with all latest units and dependencies.Graeme Geldenhuys
'fpmake archive' and 'fpmake build' and 'fpmake install' now works.
2010-09-03compiler hint: removed unused unit from uses clauseGraeme Geldenhuys