summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
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-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-05file dialog: adds a Configure Bookmarks dialog and updated resource strings.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-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-03compiler hint: removed unused unit from uses clauseGraeme Geldenhuys
2010-09-01GDI: replaced debug writeln's with SendDebug() calls.Graeme Geldenhuys
We should rather use the debug server for debugging, it works much better.
2010-08-30Fix bug returning to previous active window after opening modal formGraeme Geldenhuys
* If you had a main form and a non-modal form, and the non-modal opened a modal window, then the following happened in error: - modal form could open behind non-modal for, treating main form as parent. - when modal form closed, it set main form active, instead of non-modal form. This is now fixed.
2010-08-29menu theming: refactored out the menu painting, into the TfpgStyle classGraeme Geldenhuys
* This gives us a bit more flexibility regarding the menu looks.
2010-08-26GDI: Correctly implement clipboard support under Windows.Graeme Geldenhuys
This includes unicode text support.
2010-08-24New wrapper (fpgChangeFileExt) created for fpGUI.Graeme Geldenhuys
This handles the OS encoding correctly, like the other wrapper functions.
2010-08-23Fix compilation error under Windows.Graeme Geldenhuys
2010-08-23Use fpGUI wrapper functions instead of RTL functions directly.Graeme Geldenhuys
fpGUI's wrapper functions handle unicode conversions from OS automatically.
2010-08-22Introduced a new cross-platform fpgFileSize() helper function.Graeme Geldenhuys
2010-08-19Gray Brightness Percentage has been adjusted.Graeme Geldenhuys
* Old value was 20 which gave slightly too dark "greyed" images. * New value of 40 works nice all round.
2010-08-19Fixed preloading of new Arrow images.Graeme Geldenhuys
* I forgot this in the previous patch. New arrow images are masked.
2010-08-19Images: updated standard arrow images.Graeme Geldenhuys
* They used to be Indexed BMP, now they are RGB BMP's. fpGUI doesn't handle Indexed images well - I'm working on better image support. * Updatet the script to generate image include file under Linux. * Rebuilt stdimages.inc file.
2010-08-12imagelist: in the destructor, rather call .Free and not .DestroyGraeme Geldenhuys
2010-08-11TfpgImageList: Added a Clear method.Graeme Geldenhuys
2010-08-10Alignment bugfix: TfpgWidget.DoAlign never checked if widget was visible or notGraeme Geldenhuys
If widgets are not visible, they are not added to list of widgets that need to be re-aligned.
2010-08-05updated unit description.Graeme Geldenhuys
2010-08-02Added VERSION_FILE.inc to fpgui_toolkit.lpk packages and updated version.Graeme Geldenhuys
2010-07-13PtInRect failed if point was on right or bottom border.Graeme Geldenhuys
This fixes the Button Click bug where if you clicked on the button right or bottom border, the button press state was shown, but the Click never occured.
2010-07-05Extended TfpgImage with a new CreateDisabledImage() method.Graeme Geldenhuys
This uses the new GrayScale Filter to create a grayscale image.
2010-07-05New unit (fpg_imgutils)Graeme Geldenhuys
* This will contain various utility functions to works on images. * Implemented a GrayScale Filter function.
2010-07-05new method Tfpgimage.ImageFromSource to create a cloned image.Graeme Geldenhuys
2010-07-05TfpgImageBase now remembers the co-ordinates used for the mask.Graeme Geldenhuys
This is handy when you want to do later image manipulation, and working on a cloned image.
2010-06-29Removed special characters from code comments.Graeme Geldenhuys
2010-06-29GDI: minor code formatting.Graeme Geldenhuys
* also improved if..else for WindowType * Moved AdjustWindowStyle to after all checks for WindowType so user could override it if needed.
2010-06-29bug fix: Calendar Combo year & month popups didn't work under Windows.Graeme Geldenhuys
This was caused due to a few longs of old and outdated hack code. Removed the hack, and the problem is gone! :-)
2010-06-28Simple code formatting fixGraeme Geldenhuys
2010-06-23PopupWindow: Moved all PopupFrame painting inside HandlePaint.Graeme Geldenhuys
It is not good to paint outside the paint event handler - you could get undesired side effects.
2010-05-23New Input Query (text) Dialog and global function fpgInputQuery().Graeme Geldenhuys
2010-05-17GDI: did not handle waBorderLess window attribute.Graeme Geldenhuys
2010-05-14JPEG image loading supportjp anghel
2010-05-12overridden fpgForceDirectories() method implemented which handles OS encoding.Graeme Geldenhuys
2010-05-12TfpgImageBase.Invert() now takes a boolean property to include the mask or not.Graeme Geldenhuys
Default is not to include the mask.
2010-05-07no comment.Graeme Geldenhuys
2010-05-06New image for Checked menu items.Graeme Geldenhuys
2010-04-30Make doubly sure the TagPointer is nil.Graeme Geldenhuys
2010-04-30Fixed bug in TfpgImage.ImageFromRect() where UpdateImage was called to early.Graeme Geldenhuys
This resulted in a black (empty) image.
2010-04-30X11: Fixed bug where 1x1 rectangle is not drawn.Graeme Geldenhuys
2010-04-29Added hint directives for non-portable properties.Graeme Geldenhuys
This is simply to notify the developers when they are using a platform specific feature. Obviously this is ok and can safely be ignored if they are only developing for one platform.
2010-04-29Fixed code to remove compiler warnings/hints.Graeme Geldenhuys