Commit Graph

840 Commits

Author SHA1 Message Date
sekelsenmat
5b98ba7981 Upgrades the Accessibility structure to support roles, name, description and more easily extensible notifications
git-svn-id: trunk@34678 -
2012-01-09 13:25:26 +00:00
sekelsenmat
cc0e04b161 Finishes the basic implementation of dpi and screen rotation adjustment for Android. Not 100% perfect, but in general already functional.
git-svn-id: trunk@34279 -
2011-12-19 13:51:13 +00:00
sekelsenmat
b5a59868f9 Commits the first part of layout auto-adjustment support in the LCL
git-svn-id: trunk@34272 -
2011-12-19 10:25:13 +00:00
sekelsenmat
2c0508fb0b Deprecates IntfSendsUTF8KeyPress in favor of GetLCLCapability(lcSendsUTF8KeyPress)
git-svn-id: trunk@33862 -
2011-11-30 09:19:10 +00:00
juha
2554f47ab1 Change variable name "l" because it resembles "1".
git-svn-id: trunk@33615 -
2011-11-18 16:20:31 +00:00
juha
b69dd28405 LCL: Keep TabOrder correct also when combobox tabstop=false. Issue #18217
git-svn-id: trunk@33597 -
2011-11-17 22:57:31 +00:00
juha
1d2f226d61 LCL: formatting and little optimizing
git-svn-id: trunk@33596 -
2011-11-17 22:57:20 +00:00
juha
123ceac181 LCL: remove obsolete AlignNames, AnchorNames and AutoSizePhaseNames. Use WriteStr
git-svn-id: trunk@33233 -
2011-11-02 23:15:07 +00:00
mattias
2cd66811f0 LCL: delay autosizing when form is minimized
git-svn-id: trunk@33145 -
2011-10-29 07:28:02 +00:00
juha
8baf261d47 LCL: Minor patch for TWinControl.RealizeBoundsRecursive, issue #20490
git-svn-id: trunk@32914 -
2011-10-15 19:29:17 +00:00
mattias
749688b960 LCL: fixed RealizeBounds restoring flag
git-svn-id: trunk@32909 -
2011-10-15 17:18:28 +00:00
juha
1b25411dc1 Revert "LCL: small improvement to TWinControl.RealizeBoundsRecursive. Issue #20490, patch from Hans-Peter Diettrich"
git-svn-id: trunk@32902 -
2011-10-15 10:26:09 +00:00
juha
8b882f0d76 LCL: small improvement to TWinControl.RealizeBoundsRecursive. Issue #20490, patch from Hans-Peter Diettrich
git-svn-id: trunk@32901 -
2011-10-15 10:04:55 +00:00
juha
b69d4bc127 LCL Win: Remove wrong assertion checking if handle was created while destroying handles. Issue #19141 and others
git-svn-id: trunk@32646 -
2011-10-03 06:56:40 +00:00
mattias
eb25db0014 LCL: childsizing: fixed using top/left spacing of middle controls on grid, bug #20383
git-svn-id: trunk@32589 -
2011-10-01 17:16:24 +00:00
mattias
785a28d88e LCL: TControlBorderSpacing.GetSideSpace and GetSpace were swapped, fixed
git-svn-id: trunk@32543 -
2011-09-28 13:07:25 +00:00
blikblum
abae480a70 lcl: Call inherited method in TWinControl.CMEnabledChanged so control is invalidated
git-svn-id: trunk@31802 -
2011-07-26 01:47:57 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
paul
5f4b4f6838 lcl: formatting
git-svn-id: trunk@31350 -
2011-06-24 03:51:43 +00:00
mattias
b68fd5c06b gtk2 intf: added flag Gtk2CallMouseDownBeforeContext to call mousedown before lm_context
git-svn-id: trunk@30939 -
2011-05-27 20:20:17 +00:00
mattias
2d32a96a75 LCL: clean up
git-svn-id: trunk@30874 -
2011-05-23 20:48:48 +00:00
juha
fdc466d76d Fix spelling from Childs to Children around Lazarus source. Patch from Mazen NEIFER
git-svn-id: trunk@30657 -
2011-05-10 09:13:38 +00:00
blikblum
cb09a7c687 lcl: avoid duplicate condition check in TWinControl.DoKeyDownBeforeInterface
git-svn-id: trunk@30331 -
2011-04-17 01:32:42 +00:00
paul
c20cf07caf lcl: formatting
git-svn-id: trunk@30287 -
2011-04-14 01:03:20 +00:00
paul
32fe9f12d1 win32: send LM_HITTEST to LCL
git-svn-id: trunk@30056 -
2011-03-29 03:08:51 +00:00
paul
2bd0c336c8 lcl: formatting
git-svn-id: trunk@30045 -
2011-03-28 07:10:57 +00:00
paul
98c49e3bfb lcl: formatting
git-svn-id: trunk@30044 -
2011-03-28 03:23:37 +00:00
paul
00d73b2f13 lcl: cleanup
git-svn-id: trunk@29945 -
2011-03-21 02:48:03 +00:00
paul
0373c8de84 lcl: make ScrollBy more delphi compatible:
- invert direction of scroll
  - add TWinControl.ScrollBy to scroll inner controls
  - scroll controls in TScrollingWinControl (fixes issue #0016721)

git-svn-id: trunk@29944 -
2011-03-21 02:41:43 +00:00
juha
01db3bb47c LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
mattias
d79b8e282e LCL: debugging
git-svn-id: trunk@29035 -
2011-01-15 13:17:09 +00:00
mattias
a6965afecd LCL: TControlScrollBar: Visible is not the current state, but a flag to allow the widget to become visible, for Delphi compatibility, fixed calculating Range (the widget frame was added)
git-svn-id: trunk@29031 -
2011-01-15 12:50:44 +00:00
mattias
500cf06dda LCL: added hint when miscompiled with nogui
git-svn-id: trunk@28710 -
2010-12-14 10:05:26 +00:00
paul
dd2575c2e0 lcl: formatting
git-svn-id: trunk@28442 -
2010-11-24 03:54:25 +00:00
paul
17652a37b3 lcl: redo TForm.ActiveControl change in designer fix (28305).
git-svn-id: trunk@28389 -
2010-11-22 03:01:28 +00:00
paul
2fd8aba64b lcl: extent GetDefaultColor function to get default Brush and Font colors
git-svn-id: trunk@28306 -
2010-11-18 02:19:50 +00:00
paul
d94f345335 lcl: don't set ActiveControl for design-time forms (issue #0017951)
git-svn-id: trunk@28305 -
2010-11-18 02:05:43 +00:00
paul
d633f09ea1 lcl: fix scaling of font. default font has 0 size/height, use real height instead. fix scaling of TWinControl: children must be scaled first to prevent problems with auto sized forms
git-svn-id: trunk@28185 -
2010-11-12 08:26:55 +00:00
paul
0db1bd73c2 lcl: add ScalyBy and ChangeScale by Zaher Dirkey (mantis #0017250)
git-svn-id: trunk@28174 -
2010-11-10 06:46:42 +00:00
paul
9bd782a63e lcl:
- add GetDefaultColor to TControl which asks Parent in case widgetset returns clDefault color for it;
  - return clDefault instead of clWindow for generic TControl
win32, wince: use TControl.GetDefaultColor in all the places where we used TWSControlClass

git-svn-id: trunk@28172 -
2010-11-10 04:15:43 +00:00
paul
d35e85a332 win32: restore wm_erasebkgnd default handler after clDefault experiments
lcl: more proper implementation for clDefault, add UseCLDefault define to compile with clDefault as default color for controls

git-svn-id: trunk@28140 -
2010-11-08 02:27:02 +00:00
paul
ef89f04c0a lcl, win32: create right color brush when color = clDefault
git-svn-id: trunk@28139 -
2010-11-08 01:32:05 +00:00
mattias
88875f45c2 LCL: TWinControl.DoAllAutoSize: do not call UpdateShowing for form if already running, bug #17770
git-svn-id: trunk@28089 -
2010-11-05 08:25:59 +00:00
mattias
ea891beeed IDE: fixed break point dlg layout
git-svn-id: trunk@28007 -
2010-10-31 11:20:11 +00:00
mattias
95aa8bb613 LCL: TButtonPanel: add space between button
git-svn-id: trunk@28004 -
2010-10-31 10:14:58 +00:00
paul
64f66bd4d7 lcl: send CM_MENUCHANGED and CM_TABSTOPCHANGED messages
git-svn-id: trunk@27937 -
2010-10-29 07:28:13 +00:00
mattias
2e3d83111a LCL: fixed handling BaseBounds=0x0, TButtonPanel: using Align, bug #17719
git-svn-id: trunk@27929 -
2010-10-28 20:00:35 +00:00
mattias
e3573e3e88 carbon intf: UpdateLCLClientRect: check if something changed
git-svn-id: trunk@27782 -
2010-10-21 08:47:54 +00:00
paul
d5cb0e2fbe lcl: redo MouseEnter/MouseLeave notifications:
- move application mouse events notification from various message handlers to the WND proc of TWinControl
  - don't assume that control at mouse is the current control which has mouse events. If some control has a mouse capture set then it has the mouse messages and not the control at mouse
  - don't perform a control search in TApplication.DoBeforeMouseMessage - it already has an argument which contains the new mouse control (fixes bug #0016715)
  - fix CM_MOUSEENTER, CM_MOUSELEAVE message handlers so Parent controls will always get CM_ notification before the event handler and inspite of who is the message owner

git-svn-id: trunk@27770 -
2010-10-20 08:02:22 +00:00