Commit graph

176 commits

Author SHA1 Message Date
Gregory John Casamento
27e6f6b309 Add code to safeguard against crash when NSMatrix has no cells or the prototype is nil 2021-04-21 18:14:56 -04:00
Gregory John Casamento
eb0b0bfbe1 Fix all warnings in Gorm 2021-03-28 18:55:29 -04:00
Gregory John Casamento
cc3345990d Fix linker error due to same category name 2021-03-28 17:43:06 -04:00
Gregory John Casamento
01ed525ca7 Add new inspector for matrix cell size 2021-03-28 01:34:15 -04:00
Riccardo Mottola
b143ab112d Cast to NSProgressIndiciator so corret isVertical method is choosen by compiler. Add check before casting. 2020-04-14 12:30:34 +02:00
fredkiefer
fb3a4840e6 * GormCore/GormDocument.m: Remove NSNibConnector duplicating code in gui.
Use [-attachObjects:toParent:] and [-detachObjects:] more often.
2020-03-29 15:10:46 +02:00
Riccardo Mottola
ca6c1c71ef minor fix, gcc9 didn't like that declaration 2020-01-17 00:01:14 +01:00
Sergii Stoian
8ad8ce08a8
Merge branch 'master' into UsabilityEnhancements 2020-01-11 01:30:33 +02:00
Sergii Stoian
c301044e45 * Palettes/2Controls/ControlsPalette.gorm,
* Palettes/2Controls/GormNSFormInspector.gorm: update stepper size.
2020-01-10 18:51:49 +02:00
Sergii Stoian
4f94fd5872 * Palettes/2Controls/GormMatrixAttributesInspector.h,
* Palettes/2Controls/GormMatrixAttributesInspector.m (_displayObject:resize):
  move object refresh code here. Use it where it's appropriate.
* Palettes/2Controls/GormNSMatrixInspector.gorm: separate dimensions form into 2
  for rows and columns; add steppers again.
2020-01-10 18:44:27 +02:00
Sergii Stoian
4099c3d1ba * Palettes/2Controls/GormButtonEditor.m (gormTitleRectForFrame:inView:):
initialize `titleRect` to supress compiler warning.
2020-01-10 16:01:32 +02:00
Sergii Stoian
5b24e1289c * Palettes/2Controls/GormMatrixAttributesInspector.m: ehnanced redrawing of
object after dimension changes.
2020-01-10 10:52:30 +02:00
Sergii Stoian
b35b38b26a * Palettes/2Controls/GormNSBoxInspector.gorm: ticks to offset sliders were added; "Stop on ticks only" set. 2020-01-10 10:50:38 +02:00
Sergii Stoian
6a460bc582 * Palettes/2Controls/GormMatrixAttributesInspector.m: use ok: on end editing of
textfields objects.
  (ok:): update window content view on object's dimensions changes.
2020-01-09 03:15:50 +02:00
Sergii Stoian
540ce531df * Palettes/2Controls/GormButtonAttributesInspector.m (ok:): removed unused code. 2020-01-09 02:08:46 +02:00
Sergii Stoian
8b82a20794 * Palettes/2Controls/GormNSButtonInspector.gorm/objects.gorm:
added missed "Disclosure Round" bezel type to popup button.
2020-01-09 01:58:48 +02:00
Sergii Stoian
39af9e0b4c * Palettes/2Controls/GormButtonAttributesInspector.m
(buttonTypeForObject:): use NSMomentaryPushInButton for "Momentary Push" type.
  (rever:): use tag to select button type.
2020-01-09 01:57:43 +02:00
Sergii Stoian
4c915602dd * Palettes/2Controls/GormButtonAttributesInspector.m: fixed "Momentary Light"
button type value.
2020-01-08 18:42:13 +02:00
Sergii Stoian
2b4b6171e6 * Palettes/2Controls/GormMatrixAttributesInspector.m (ok:): preserve tag and
title of cells on "Match Prototype" button click.
2020-01-08 18:41:12 +02:00
Sergii Stoian
30e8802532 * Palettes/2Controls/ControlsPalette.m (willInspectObject:): create "Prototype" mode only if selected object's prototype exists. 2020-01-05 04:10:56 +02:00
Sergii Stoian
e563abf1b3 * Palettes/2Controls/GormMatrixAttributesInspector.m (ok:): fixed "Match Prototype" action - make cells as copy of prototype, select first cell. 2020-01-05 03:53:41 +02:00
Sergii Stoian
bcd8491262 * Palettes/2Controls/GormMatrixAttributesInspector.m (revert:): update object in prototype matrix.
(ok:): implemented "Match Prototype" button action - recreates object's cells.
2020-01-05 03:20:17 +02:00
Sergii Stoian
6722945719 * Palettes/2Controls/GormButtonAttributesInspector.m (ok:), (revert:): adopt methods to be usable for objects with prototype. This inspector can be called in "Prototype" mode. 2020-01-05 03:17:37 +02:00
Sergii Stoian
cdb2814a8a * Palettes/2Controls/ControlsPalette.m: implement adding "Prototype" mode to Inspector's popup button for objects with prototype aavailable (mainly NSMatrix). 2020-01-05 03:15:09 +02:00
Sergii Stoian
a0702cd9cd * Palettes/2Controls/GormNSMatrixInspector.gorm: reestablish coonectiontion to action for "Match Prototype" button. 2020-01-05 03:13:22 +02:00
Sergii Stoian
441b52e3a1 * Palettes/2Controls/GormNSButtonInspector.gorm: set enabled and not selected state "Bordered" button. 2020-01-05 03:12:33 +02:00
Sergii Stoian
5bcdc44706 * GormCore/GormInspectorsManager.m (setCurrentInspector:): increase height of
inspector panel frame if inspector taller then previous; set minimum size
accordingly.
* Palettes/2Controls/GormNSMatrixInspector.gorm: made inspector content taller
to look better and as a test case for change in GorInspectorManager.
2020-01-04 02:01:36 +02:00
Sergii Stoian
e54c0fa607 * Palettes/2Controls/GormNSBoxInspector.gorm,
Palettes/2Controls/GormNSButtonInspector.gorm,
  Palettes/2Controls/GormNSCellInspector.gorm,
  Palettes/2Controls/GormNSColorWellInspector.gorm,
  Palettes/2Controls/GormNSMatrixInspector.gorm,
  Palettes/2Controls/GormNSPopUpButtonInspector.gorm,
  Palettes/2Controls/GormNSProgressIndicatorInspector.gorm,
  Palettes/2Controls/GormNSSliderInspector.gorm,
  Palettes/2Controls/GormNSStepperInspector.gorm,
  Palettes/2Controls/GormNSTextFieldInspector.gorm: sizing and positions fixes.
2019-12-28 00:41:32 +02:00
Sergii Stoian
0b548c2393 * Palettes/2Controls/GormNSFormInspector.gorm: sizes and positions cleanup and fix. 2019-12-27 19:26:30 +02:00
Sergii Stoian
6a0a511f4c * Palettes/2Controls/GotmNSBoxInspector.gorm: minor fixes. 2019-12-26 02:52:16 +02:00
Sergii Stoian
942bfbc6d8 * Palettes/2Controls/GormButtonInspector.gorm: recreate broken "Type" popup button. 2019-12-26 02:51:17 +02:00
Sergii Stoian
0b210bbcb1 * Palettes/2Controls/GormButtonAttributesInspector.m (ok:): set "Key:" textfield value to after selecting popup button items. 2019-12-26 02:50:09 +02:00
Sergii Stoian
df3e6f1e36 Palettes/2Controls/GormNSBoxInspector.gorm: adjust size and positions of elements. 2019-12-24 15:17:26 +02:00
Sergii Stoian
94c450df76 * Palettes/2Controls: return code for NSPopUpButton adding programmatically into palette. 2019-12-24 02:00:16 +02:00
Sergii Stoian
25697a5b46 * Palettes/2Controls/ControlsPalette.gorm: adjust some controls position slightly. 2019-12-23 18:27:45 +02:00
Sergii Stoian
017bead07a Palette Panel: set window title from original window title of selected palette; window titles were added/fixed for palettes. 2019-12-23 01:46:59 +02:00
Sergii Stoian
e2ec1db122 * Palettes/2Controls/ControlsPalette.m (finishInstantiate) do not add popup button - it's already in model file of palette. 2019-12-23 01:32:42 +02:00
Sergii Stoian
10499e2610 Controls Palette: minor fixes to controls position and size. 2019-12-23 01:17:00 +02:00
Sergii Stoian
011d0fda17 GormPalettesManager: palettes selection icons now display selection with white color of selected icon background; removed arrows from scroller; icons are replaced to make selection color visible. 2019-12-23 01:14:25 +02:00
Sergii Stoian
681758ce7e ControlsPalette: rearrange controls. 2019-12-22 23:38:02 +02:00
Lars Sonchocky-Helldorf
94816bea7f headers cleaned up: use umbrella headers when using headers from other subprojects (to make PCH easier in the future); umbrella headers created for GormCore, GormObjCHeaderParser, GormPrefs; GNUmakefiles updated accordingly; some stray .cvsignore files deleted 2019-11-03 02:57:39 +01:00
fredkiefer
d587e3f195 Add .gitignore.
Fix a few compiler warnings.
2019-07-26 21:29:00 +02:00
Gregory John Casamento
fa00b63ced Single line mode fix 2019-04-15 03:42:44 -04:00
Gregory John Casamento
611266d433 Inspector changes 2019-04-15 03:38:23 -04:00
Gregory John Casamento
e7ba5673cd Add usesSingleLineMode in inspector 2019-04-14 00:27:28 -04:00
Gregory John Casamento
5a35e51db1 Add usesSingleLineMode in inspector 2019-04-14 00:26:47 -04:00
Gregory John Casamento
26f5f4b820 Implemented Feature Request Bug#17380: Gorm palette should offer seperator lines. 2018-01-24 20:15:50 -05:00
Sebastian Reitenbach
2e1fc7f286 * Palettes/2Controls/GormFormAttributesInspector.m
fix some format string warnings


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37926 72102866-910b-0410-8b05-ffd578937521
2014-05-30 12:32:21 +00:00
Sebastian Reitenbach
5cdfadcb56 * Palettes/2Controls/GormColorWellAttributesInspector.h
fix typo in header guard


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37924 72102866-910b-0410-8b05-ffd578937521
2014-05-30 12:08:28 +00:00
Gregory John Casamento
4ff11ce871 Fix for bug#28646
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37912 72102866-910b-0410-8b05-ffd578937521
2014-05-27 07:27:32 +00:00