Commit Graph

14682 Commits

Author SHA1 Message Date
paul
5a73f54727 cocoa: cleanup
git-svn-id: trunk@34591 -
2012-01-05 04:08:57 +00:00
maxim
3d35e18d5f Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #21020
git-svn-id: trunk@34581 -
2012-01-04 20:59:03 +00:00
paul
10cd03aa72 cocoa: fix text shifting
git-svn-id: trunk@34579 -
2012-01-04 17:30:26 +00:00
sekelsenmat
cc4b062b1d Improves the Android text handling
git-svn-id: trunk@34571 -
2012-01-04 11:21:28 +00:00
sekelsenmat
4c304af365 Patch from lainz, fixes all remaining memory leaks in customdrawn
git-svn-id: trunk@34569 -
2012-01-03 23:30:35 +00:00
jesus
6f5bccc376 LCL, implements MaxLength in grid's TCompositeCellEditor, fix issue #20951
git-svn-id: trunk@34567 -
2012-01-03 20:41:42 +00:00
blikblum
554486927a gtk2: Partially reverts 34395. Fix issue #21014
git-svn-id: trunk@34566 -
2012-01-03 19:09:25 +00:00
sekelsenmat
e887732966 Improves the no drawers found message to be more clear
git-svn-id: trunk@34548 -
2012-01-03 12:12:14 +00:00
sekelsenmat
db6767dd05 Patch to fix memory leak from lainz
git-svn-id: trunk@34545 -
2012-01-03 00:59:11 +00:00
zeljko
5ca2d85d66 Gtk2: do not blindly unmaximize and deiconify GtkWindow. issue #10698
git-svn-id: trunk@34530 -
2012-01-01 10:47:45 +00:00
sekelsenmat
3943362c0c Improves LCL-CustomDrawn scrolling
git-svn-id: trunk@34526 -
2011-12-31 12:24:07 +00:00
sekelsenmat
9887d5131e Fixes Android compiling by making it use the unified RenderForm
git-svn-id: trunk@34525 -
2011-12-31 12:10:19 +00:00
sekelsenmat
8e92a68084 Rewrites the LCL-CustomDrawn scrolling code to be Android compatible
git-svn-id: trunk@34524 -
2011-12-31 11:56:03 +00:00
sekelsenmat
2a92924d26 Starts Y form scrolling in LCL-CustomDrawn and converts tabs to space in the messaging fields table
git-svn-id: trunk@34523 -
2011-12-31 11:34:04 +00:00
mattias
a55ea51542 LCL: re-added ldocktree, a default is needed for Delphi compatibility
git-svn-id: trunk@34520 -
2011-12-30 17:27:23 +00:00
zeljko
91eda267c1 Gtk2: cleanup
git-svn-id: trunk@34519 -
2011-12-30 17:18:18 +00:00
marc
a3a5cd8734 lcl: use autoscroll property to get the autoscroll value, autoscrollenabled has a different meaning. (fixes #20982)
git-svn-id: trunk@34518 -
2011-12-30 15:30:06 +00:00
mattias
368e8f24bb LCLBase: clean up
git-svn-id: trunk@34517 -
2011-12-30 11:38:33 +00:00
zeljko
2a4f9f620d LCL: fixed compilation after r34513 #234a338878 commit
git-svn-id: trunk@34516 -
2011-12-30 11:38:24 +00:00
mattias
234a338878 LCL: removed obsolete ldock
git-svn-id: trunk@34513 -
2011-12-30 09:49:20 +00:00
zeljko
cac40f27dc Qt: simplified getting style pixel metrics by using GetPixelMetric() instead QStyle_pixelMetric()
git-svn-id: trunk@34512 -
2011-12-30 08:53:11 +00:00
zeljko
6603d6ade6 Qt: better TQtBitBtn autosize calculation for aqua and oxygen themes
git-svn-id: trunk@34511 -
2011-12-30 08:31:57 +00:00
paul
be8ca4f2c3 cocoa: initial implementation of key handling based on carbon code
git-svn-id: trunk@34510 -
2011-12-30 01:32:09 +00:00
sekelsenmat
b106f80cb9 Android: Starts improving the key input. Now it gets real unicode chars instead of the key name
git-svn-id: trunk@34509 -
2011-12-29 23:12:21 +00:00
zeljko
90d21bf0ea LCL: TBitBtn: invalidate preferred size when changing layout so autosized buttons can resize correctly
git-svn-id: trunk@34507 -
2011-12-29 19:01:08 +00:00
zeljko
48b2cd29e5 Qt: more accurate autosize calculation for TQtBitBtn
git-svn-id: trunk@34506 -
2011-12-29 18:52:02 +00:00
zeljko
2369626edf Qt: cleanup
git-svn-id: trunk@34505 -
2011-12-29 18:15:45 +00:00
zeljko
5dabddd408 Qt: TQtBitBtn: do not update widget if not visible.
git-svn-id: trunk@34504 -
2011-12-29 18:14:09 +00:00
zeljko
116705d34f Qt:introduced new class TQtBitBtn, now we support TBitBtn.Layout under qtlcl.
git-svn-id: trunk@34503 -
2011-12-29 18:10:25 +00:00
zeljko
ec5846581a Qt: use QStylePM_ButtonIconSize for pixel metrics of button pixmaps.
git-svn-id: trunk@34502 -
2011-12-29 17:15:47 +00:00
zeljko
b30da49c3e Qt: use theme value instead hardcoded one for SM_CXSMICON and SM_CYSMICON.
git-svn-id: trunk@34501 -
2011-12-29 17:06:26 +00:00
zeljko
a1eabc47be Qt: workaround for qt bug when returning standard pixmap, size of icon must be as theme says, not random.
git-svn-id: trunk@34500 -
2011-12-29 16:59:20 +00:00
sekelsenmat
728f54b6ad Various small improvements in sms and location in Android
git-svn-id: trunk@34499 -
2011-12-29 16:01:46 +00:00
sekelsenmat
96654d4b05 customdrawnws: Fixes the initial text value in TEdit by creating the intf control earlier
git-svn-id: trunk@34497 -
2011-12-29 15:12:20 +00:00
sekelsenmat
b92e125ce3 Finishes basic SMS sending in Android and fixes TEdit.GetText in LCL-CustomDrawn, but in the process broke the initial text setting for TEdit
git-svn-id: trunk@34496 -
2011-12-29 13:51:45 +00:00
sekelsenmat
7dc377cd18 Android: Fixes a bug in gettextextentexpoint which improves TEdit a lot. Starts adding Positioning support in Android
git-svn-id: trunk@34494 -
2011-12-29 10:54:14 +00:00
zeljko
672a0f0798 Qt: fixed potential crash with TQtHintWindow
git-svn-id: trunk@34493 -
2011-12-29 08:43:52 +00:00
paul
c4a6edc657 cocoa: add mackeycodes.inc from carbon
git-svn-id: trunk@34492 -
2011-12-29 08:06:13 +00:00
paul
6c88a7f8fa cocoa: finish GetStockItem()
git-svn-id: trunk@34491 -
2011-12-29 07:02:45 +00:00
paul
aafc19458b cocoa: implement GetKeyState, fix selected color
git-svn-id: trunk@34490 -
2011-12-29 06:48:44 +00:00
paul
19e37fd59e cocoa: apply font color to NSControl and NSText objects
git-svn-id: trunk@34489 -
2011-12-29 03:44:43 +00:00
paul
d3d7d7c4f0 cocoa: don't use low level TextStorage object while working with memo strings - this caused skipping different text attributes like font and color
git-svn-id: trunk@34488 -
2011-12-29 03:43:59 +00:00
paul
53945a77c0 cocoa: apply font aliasing to context before drawing with it
git-svn-id: trunk@34487 -
2011-12-29 03:42:11 +00:00
sekelsenmat
fdc8606135 Adds Accelerometer stopping in Android (and to the general structure) and starts implementing SMS sending
git-svn-id: trunk@34486 -
2011-12-29 00:24:15 +00:00
sekelsenmat
142d0b4667 Customdrawn: Patch from lainz to fix mem leak and adds dsWindow7 style
git-svn-id: trunk@34481 -
2011-12-28 23:20:04 +00:00
sekelsenmat
b360c1f433 Implements basic accelerometer support in Android and adds it to the Example
git-svn-id: trunk@34479 -
2011-12-28 23:06:17 +00:00
sekelsenmat
58dd4a7960 Changes the accelerometer interface to better fit the Android and iPhone APIs
git-svn-id: trunk@34476 -
2011-12-28 19:51:44 +00:00
sekelsenmat
c6111bd52c Improves csfSunken for checkbox and radio button
git-svn-id: trunk@34475 -
2011-12-28 18:20:51 +00:00
marc
d0116de29b lcl: make TCustomTabControl vcl compatible
git-svn-id: trunk@34474 -
2011-12-28 17:45:55 +00:00
marc
f4e40740ac lcl: make TCustomTabControl.Images property vcl compatible
git-svn-id: trunk@34473 -
2011-12-28 17:44:09 +00:00
marc
a52a38101c lcl: add missing vcl compatible ValidMenuHotkeys
git-svn-id: trunk@34472 -
2011-12-28 17:42:50 +00:00
marc
c863866c4b lcl: Add up/down control OnChangingEx event
git-svn-id: trunk@34471 -
2011-12-28 17:35:19 +00:00
marc
d30d8468dc lcl: implement Delphi compatible AutoScrollEnabled function
git-svn-id: trunk@34470 -
2011-12-28 16:57:14 +00:00
marc
63cac4d912 lcl: fix loading from resourceids
git-svn-id: trunk@34469 -
2011-12-28 16:09:04 +00:00
sekelsenmat
3f997f3ffd Finishes the basic skeleton for position info, accelerometer and messaging, now it includes the lclintf skeleton
git-svn-id: trunk@34467 -
2011-12-28 10:43:25 +00:00
juha
e762c4e425 TreeFilter: fix moving up and down when tree has multiselect enabled.
git-svn-id: trunk@34466 -
2011-12-28 09:39:59 +00:00
paul
1ac5f81918 implement WinControl.SetFont
git-svn-id: trunk@34463 -
2011-12-28 08:06:33 +00:00
paul
30056f1dc2 do not propagate mouse events of custom control to the next responder
git-svn-id: trunk@34462 -
2011-12-28 07:21:59 +00:00
paul
f14309acc4 fix MouseUpDownEvent result
git-svn-id: trunk@34461 -
2011-12-28 07:07:30 +00:00
paul
101308219b cocoa: handle right and other mouse buttons
git-svn-id: trunk@34460 -
2011-12-28 06:48:10 +00:00
paul
d2f6f1cb1b cocoa: fix isEnabled, setEnabled for NSWindow
git-svn-id: trunk@34459 -
2011-12-28 05:49:29 +00:00
paul
e4a811c552 cocoa: fix multy-clicks
git-svn-id: trunk@34458 -
2011-12-28 05:39:27 +00:00
paul
001ddf6bc9 cocoa: reimplement mouse up/down messages
git-svn-id: trunk@34457 -
2011-12-28 05:31:55 +00:00
paul
5aa7fcbf48 cocoa: send focus messages
git-svn-id: trunk@34456 -
2011-12-28 02:49:08 +00:00
sekelsenmat
521400fd7f Starts the Lazarus Device APIs
git-svn-id: trunk@34453 -
2011-12-28 00:00:48 +00:00
sekelsenmat
865af6bdac Fixes (again) the doublebuffer in customdrawncontrols
git-svn-id: trunk@34452 -
2011-12-27 22:54:37 +00:00
sekelsenmat
1963fc9eb5 Removes gtk1 Frame
git-svn-id: trunk@34451 -
2011-12-27 22:54:09 +00:00
sekelsenmat
d5c7c05a44 Attempt to fix double buffering in Windows
git-svn-id: trunk@34449 -
2011-12-27 17:35:22 +00:00
mattias
200204331d LCL: fixed compilation
git-svn-id: trunk@34447 -
2011-12-27 08:44:42 +00:00
paul
d2a0cd5d20 cocoa: add implementation for winapi caret functions
git-svn-id: trunk@34446 -
2011-12-27 07:19:09 +00:00
paul
548a38c43c cocoa: prepare infrastructure for Caret support
git-svn-id: trunk@34445 -
2011-12-27 06:55:27 +00:00
paul
d13b20b978 cocoa: add caret unit from carbon
git-svn-id: trunk@34444 -
2011-12-27 05:07:26 +00:00
paul
9d71664a66 cocoa: implement GetTextMetrics
git-svn-id: trunk@34443 -
2011-12-27 03:04:16 +00:00
paul
2e63df2d35 cocoa: minor optimizations to pattern creation from NSImage
git-svn-id: trunk@34442 -
2011-12-27 01:24:04 +00:00
paul
33bbf3a144 cocoa: some work on pattern brushes created by NSColor
git-svn-id: trunk@34431 -
2011-12-26 13:27:28 +00:00
paul
8b26db6fb9 cocoa: cleanup and reformat some code
git-svn-id: trunk@34422 -
2011-12-26 11:28:08 +00:00
paul
e0bf8626c8 cocoa: implement ETO_CLIPPED option in ExtTextOut
git-svn-id: trunk@34421 -
2011-12-26 11:16:40 +00:00
paul
a991d939dd cocoa: apply BkColor without loosing pattern image (if avaiable) if a system color is set
git-svn-id: trunk@34420 -
2011-12-26 07:29:12 +00:00
paul
ecdc478798 gtk, gtk2: fix crash in SetSysColors
git-svn-id: trunk@34419 -
2011-12-26 06:59:11 +00:00
paul
788c0a47d2 cocoa: fix crash in SetSysColors
git-svn-id: trunk@34418 -
2011-12-26 06:58:40 +00:00
paul
fa157758f2 cocoa: fix compilation
git-svn-id: trunk@34417 -
2011-12-26 02:57:13 +00:00
paul
e88c7b31b7 cocoa: store NSColor in TCocoaBrush object for GetSysColor/SetSysColor functions
git-svn-id: trunk@34416 -
2011-12-26 02:54:52 +00:00
blikblum
2d40e8a38c gtk2: update combo text only if has a edit box
git-svn-id: trunk@34414 -
2011-12-25 20:07:31 +00:00
blikblum
fc8fddcc53 gtk2: merge GetGtkStyleParams and GetGtk1StyleParams. Rename Gtk1DrawElement to GtkDrawElement
git-svn-id: trunk@34413 -
2011-12-25 19:53:59 +00:00
blikblum
373358eb74 gtk2: handle parts (left, right, center) in themed header
git-svn-id: trunk@34412 -
2011-12-25 19:35:34 +00:00
blikblum
08eba51e69 gtk2: fix themed header draw
git-svn-id: trunk@34409 -
2011-12-25 18:10:25 +00:00
blikblum
21f19f200b gtk2: initialize OldTreeSelection (fix potential sigsegv). Remove double assignments.
git-svn-id: trunk@34408 -
2011-12-25 18:06:56 +00:00
sekelsenmat
c8fd1de1c8 Implements GetTextExtentExPoint in Android
git-svn-id: trunk@34402 -
2011-12-25 11:01:30 +00:00
mattias
774703c6a9 lcl: TSpeedButton: implemented AutoSize=true
git-svn-id: trunk@34398 -
2011-12-25 00:05:58 +00:00
blikblum
8fe3090356 gtk2: fix a condition check (always False) in ConnectInternalWidgetsSignals
git-svn-id: trunk@34396 -
2011-12-24 21:08:22 +00:00
blikblum
3bd4030d1a gtk2: remove unecessary checks
git-svn-id: trunk@34395 -
2011-12-24 20:58:37 +00:00
blikblum
bcdef55e90 gtk2: use FreeAndNil where appropriate in Gtk2Int (missing part)
git-svn-id: trunk@34394 -
2011-12-24 20:42:00 +00:00
blikblum
750733b289 gtk2: use FreeAndNil where appropriate in Gtk2Int
git-svn-id: trunk@34393 -
2011-12-24 20:41:11 +00:00
paul
22b9483947 cocoa: cleanup temporary debug code
git-svn-id: trunk@34392 -
2011-12-24 16:23:38 +00:00
paul
f1976687d0 cocoa: implement GetSysColor for pattern colors like clWindow and clBtnFace
git-svn-id: trunk@34391 -
2011-12-24 16:23:01 +00:00
paul
02a0fa9668 cocoa: protect gdi classes private and protected fields from non desired access from the same unit
git-svn-id: trunk@34390 -
2011-12-24 15:11:38 +00:00
blikblum
15f1e374c6 lcl: implement ScrollListDataset in DBLookup controls
git-svn-id: trunk@34389 -
2011-12-24 15:03:24 +00:00
paul
daea252a34 cocoa: implement ETO_OPAQUE flag
git-svn-id: trunk@34388 -
2011-12-24 14:46:36 +00:00
blikblum
e1522769f7 lcl: clear TDBLookupComboBox.Text if value does not exist in list. Issue #20886
git-svn-id: trunk@34387 -
2011-12-24 14:33:45 +00:00
blikblum
3e2573d526 lcl: ensure ItemIndex is the effective in TDBLookupComboBox
git-svn-id: trunk@34386 -
2011-12-24 14:25:19 +00:00