Commit graph

167 commits

Author SHA1 Message Date
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
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
Gregory John Casamento
4c6a4d7baf Accepted patch for 34877 by Sergei.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37909 72102866-910b-0410-8b05-ffd578937521
2014-05-26 22:33:29 +00:00
Fred Kiefer
1fb82b12ec * Palettes/2Controls/GormButtonAttributesInspector.h: Use
NSButton instead of the non-existign NSSwitch.
        * GormCore/GormViewKnobs.m: Replace DPS calls. Only realloc
        rect lists if needed.
        * Plugins/Gorm/GormGormWrapperBuilder.m,
        * Palettes/2Controls/GormPopUpButtonAttributesInspector.m,
        * Palettes/2Controls/GormButtonEditor.m: Remove compiler
        warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37618 72102866-910b-0410-8b05-ffd578937521
2014-01-19 19:25:44 +00:00
Eric Wasylishen
66f31dd063 * Palettes/2Controls/GormNSMatrixInspector.gorm:
*  Palettes/2Controls/GormNSSliderInspector.gorm:
*  Palettes/2Controls/GormNSBoxInspector.gorm:
*  Palettes/2Controls/GormNSTextFieldInspector.gorm:
*  Palettes/2Controls/GormNSPopUpButtonInspector.gorm:
*  Palettes/2Controls/GormNSButtonInspector.gorm:
*  Palettes/2Controls/ControlsPalette.gorm:
*  Palettes/2Controls/GormNSFormInspector.gorm:
*  Palettes/2Controls/GormNSCellInspector.gorm:
*  Palettes/0Menus/GormMenuAttributesInspector.gorm:
*  Palettes/3Containers/GormNSTableColumnSizeInspector.gorm:
*  Palettes/3Containers/GormTabViewInspector.gorm:
*  Palettes/3Containers/GormNSTableViewInspector.gorm:
*  Palettes/3Containers/GormNSBrowserInspector.gorm:
*  Palettes/1Windows/GormNSWindowSizeInspector.gorm:
*  Palettes/1Windows/GormNSWindowInspector.gorm:
*  Palettes/4Data/GormNSComboBoxInspector.gorm:
*  Palettes/4Data/GormNSImageViewInspector.gorm:
*  Palettes/4Data/GormNSTextViewInspector.gorm:
Turn off "Draws Background" on NSMatrix and NSForms; there's no need
to draw backgrounds and it may look bad with themes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37228 72102866-910b-0410-8b05-ffd578937521
2013-10-14 17:50:59 +00:00
David Chisnall
3cd12bee73 Next bit of NSInteger cleanup for -gui.
Fix all of the current warnings in Gorm so that it can be used to test
NSInteger things.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36039 72102866-910b-0410-8b05-ffd578937521
2013-01-30 12:43:27 +00:00
Gregory John Casamento
451e84bc06 * Palettes/2Controls/GormColorWellAttributesInspector.m: NSColorWell
inspector was showing inverted settings after the last change.
	Corrected this in -ok: and -revert:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35963 72102866-910b-0410-8b05-ffd578937521
2013-01-13 21:58:40 +00:00
Gregory John Casamento
4b3e74e68e * Palettes/2Controls/GormNSPopUpButton.h
* Palettes/2Controls/GormNSPopUpButton.m: Added new files for
	Gorm subclass of NSPopUpButton.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35095 72102866-910b-0410-8b05-ffd578937521
2012-04-20 16:17:06 +00:00
Gregory John Casamento
0f780c7001 * GormCore/GormCustomView.m
* GormCore/GormFilesOwner.m
	* GormCore/GormFunctions.m
	* GormObjCHeaderParser/OCHeaderParser.m
	* Palettes/2Controls/ControlsPalette.m
	* Palettes/2Controls/GNUmakefile
	* Palettes/2Controls/GormPopUpButtonEditor.m
	* Palettes/3Containers/GormNSBrowser.m
	* Palettes/4Data/GormImageViewAttributesInspector.m: Correct
	compiler warnings found by clang.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35094 72102866-910b-0410-8b05-ffd578937521
2012-04-20 16:03:21 +00:00
Gregory John Casamento
5242b29ed1 Properly read and display the state of the text field for enter/end editing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@32930 72102866-910b-0410-8b05-ffd578937521
2011-04-27 00:13:02 +00:00
Gregory John Casamento
6fb6fc17a1 Implemenation of changes for task #10799. Send action on end/enter.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@32760 72102866-910b-0410-8b05-ffd578937521
2011-04-01 06:55:48 +00:00