Re: Size of Image in RAM

2017-02-07 Thread Scott Rossi via use-livecode
You say the mode is 8 bit.  I might be wrong, but I don’t believe JPEG supports 
8 bit (256 color) images.  Even if it does technically, the format is not 
really intended for 8 bit images, but rather 16 bit or higher.

When I generate an 8 bit indexed color image in Photoshop and look at the Save 
As menu, JPEG is not an option.  If I instead choose Save for Web which allows 
saving as JPEG, the resulting image re-opens in Photoshop in RGB (24 bit color) 
mode.

So as I read question, you’re getting a 24 bit image because you’re saving in 
JPEG format.

If you really want to save as 8 bit color, use PNG or GIF.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 

> On Feb 7, 2017, at 7:45 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> I'm trying to optimize for Mobile.  Photoshop is playing tricks on me
> 
> given a 38K  jpg;
> 
> rect 3 X 5
> 
> 552px w
> 736 px h
> 72 dpi (irrelevant for screen)
> 
> Open in Photoshop: it indicates 1.16M in RAM, but mode is 8 bit… but
> 
> but the online calculation sites for file size for that rect/bit-depth should 
> make it only take up 398k or so, in RAM.
> 
> If I change the online calculator for that rect to "24 bit" it returns the 
> exactly size  (1.16M) I'm seeing in photoshop…roughly 3X the size of the 8 
> bit, which is what we would expect.
> 
> So
> 
> 1) Why is Photoshop reporting the files size as if it were 24 bit? and
> 2) Does LC have a function to check the size of an image in terms of RAM 
> consumed? I couldn't find one in the dictionary.
> 
> BR  (thinking about affinity these days!)
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Size of Image in RAM

2017-02-07 Thread Scott Rossi via use-livecode
If your image was 256 colors, the Index > Mode menu would show Indexed Color 
checked, instead of RGB Color.

The RGB/8 Bit you’re seeing in the Photoshop menu actually reads “8 
Bits/Channel” — an RGB image is 3 channels (red, green, blue), 8 bits each, so 
24 bit color.

Again, if you really want your image limited to 256 colors, convert it to 
Indexed Color and save as PNG or GIF.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 

> On Feb 7, 2017, at 10:17 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> @ Scott:
> 
> That's not what I get if I open this image in Photoshop.  (CC 2017)
> 
> 
> 
> 575 X 1000 
> 
> http://wiki.hindu.org/uploads/img37.jpg
> 
> 
> It is a JPEG, but under the mode menu it shows "RGB/8 Bit" and if I look 
> under indexed colors it says "256"  definitely not 16bit (in which case we 
> should see 65536 colors)
> 
> So, somehow this IS a JPG that at least reports in PS as 8 bit but shows it 
> is taking 2.17 MB in RAM, which it would if it were 16 bit.
> 
> Scott Rossi wrote:
> 
>When I generate an 8 bit indexed color image in Photoshop and look at the 
> Save As menu, JPEG is not an option.  If I instead choose Save for Web which 
> allows saving as JPEG, the resulting image re-opens in Photoshop in RGB (24 
> bit color) mode.
> 
> But, and this is interesting: if I save as PNG Photoshop offers the option to 
> change turn off transparency and save as  bit… the resulting images on disk 
> is 1/3 bigger I size  (jpeg,:229K, png:353K)  But the former/jpg opens in 
> photoshop at 2.17MB and not the 8-bit PNG opens at 739K in RAM  
> 
> This tends to confirm your theory and Photoshop is miss reporting the bit 
> depth on the jpg (or something!)  … very interesting. the PNG at half the 
> size in RAM is visually indistinquishable from the JPG (at least to my eyes)
> 
> http://wiki.hindu.org/uploads/img37.png
> 
> So we have a trade off: use 8 bit PNG and pack more data than we have room 
> for in the mobile app package. or optimize really small JPG's on disk that 
> then take up twice the room in RAM!
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Cheesed off by 32xxx

2017-04-01 Thread Scott Rossi via use-livecode
Without knowing exactly what you're trying to accomplish, one way is to display 
only a few rows of buttons beyond what will fit comfortably on a screen, and 
when scrolling takes place, "recycle" the rows around to the end (or beginning) 
with new glyphs applied.

Assuming all the characters are from a single font and you're trying to display 
glyphs in an organized fashion,  a better way might be to display all the 
glyphs in a field with extra column and row spacing to essentially form a grid. 
  This is how I display glyphs from icon fonts, which is more efficient than 
using thousands of controls on a card. 

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Apr 1, 2017, at 3:07 PM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> What a nuisance:
> 
> There I was, merrily churning through the button titles for my Unicode 
> Reference thing
> [ http://forums.livecode.com/viewtopic.php?f=26=29069 ] which needed at 
> least 1600 buttons
> that were 23 pixels deep layered underneath each other.
> 
> What happens?
> 
> At the "Magic Number" of 32xxx I get a "this is not a number" message.
> 
> As a result I ended up restricted to 1400 buttons.
> 
> This is very bad as the Unicode glyph tables are many, and in an ideal world
> I'd like 8703 buttons. But 8703 * 23 = 200169
> 
> That would involve groupig a "stack" of buttons that was 200169 pixels high.
> 
> Would be grateful if anyone knows a way to circumvent the limitation.
> 
> Richmond.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Gradients with transparency?

2017-04-03 Thread Scott Rossi via use-livecode
The thing about using a graphic gradient (as opposed to an image) is the 
graphic is infinitely more flexible:
- variable size (no loss of quality when resizing)
- variable colors
- variable transparency

As far as exporting goes, last I checked, I don’t think ink effects export 
intact, even when using “with effects” in the snapshot syntax, so if you can’t 
get the visual result you want with the default ink, you may need to export a 
snapshot of the region of the card you need.  Maybe support for exporting inks 
has improved recently (though in my quick dp4 test, exporting to the desktop 
crashes).

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Apr 3, 2017, at 10:26 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Would exporting a snapshot work well enough for your needs?
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> 
> On April 3, 2017 4:39:07 AM Terry Judd via use-livecode 
>  wrote:
> 
>> Is it possible to have a gradient with one of its end-points being 
>> transparent instead of a solid colour?
>> 
>> I want to overlay a graphic with a vertical gradient that blends from 
>> transparent to white to give the effect that the underlying content is 
>> fading out as you move down the screen. I’m able to achieve this effect 
>> using a black and white linear gradient in combination with the blendScreen 
>> ink but I need to be able to export the object (gradient plus underlying 
>> controls) as an image keeping the effect intact. When I export it now the 
>> ink effect is lost.
>> 
>> Terry...
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Biased testing and micro-coaching

2017-07-07 Thread Scott Rossi via use-livecode
You don’t have to keep your mouth shut.  In fact, you should be vocal, but you 
want your tester to be more vocal.

Generalized suggestions from past experience…

- First, explain to the tester in general terms what your app does.  Avoid 
getting into operating specifics.

- Tell the tester you want them to verbalize as much as possible their thought 
process when encountering each screen/interaction process.  You goal is to get 
a sense of what the tester is thinking and why, not just whether or not they 
exhibit expected behavior (you will have to prompt the tester repeatedly to 
explain their thinking without scolding or leading).

- Explain to your tester there are no right or wrong actions/answers while 
using your app — you are trying to observe real world behavior and initial 
responses to what they see/experience, and their interaction (or lack of it) in 
no way reflects on their “intelligence”.

- Give the tester one or more planned tasks to complete.  Remind them to 
describe their thinking as they attempt to complete each task.

- Each time the tester is shown a new screen/process, ask them what they think 
they need to do at that point. Ask why.  Keep all requests/comments neutral, 
never correct the tester.  If their response doesn’t fit with your intended 
behavior, ask the tester what they would suggest to improve 
interaction/outcome, or make the process more intelligible.  Avoid allowing the 
tester complete too many tasks in a row without describing their thought 
process.

- If the tester can’t figure out how to proceed to a next step, give them a 
hint (if possible) and determine if they are able to understand the 
interaction. Again, ask for suggestions on what could be improved.  Ask why.

- Rinse and repeat.

- Ask the tester at the end of the test what they felt was the biggest issue 
with the app.  Ask the tester to reiterate how they would correct the problem.  
Review your list of problems encountered by the tester to confirm your 
understanding of the issues.

- Record/note all responses.  Keep written notes at a minimum, use audio and/or 
video recording to collect more detailed/nuanced responses. In an ideal world, 
you would record the tester and the screen they interact with concurrently.

Hope this helps.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Jul 7, 2017, at 12:49 PM, Jonathan Lynch via use-livecode 
>  wrote:
> 
> From reading these, it looks like my basic steps are these:
> 
> 1. Make changes to the app
> 
> 2. Test for usability myself a dozen times, trying things in different orders 
>  and in different ways to make it fail
> 
> 3. Have my testers, which is really about 3 family members, test it to make 
> it fail
> 
> No coaching, no hints
> 
> Directly observe their tests very closely
> 
> Make notes on any moments of confusion, even if they minor
> 
> Interview them, asking what they were thinking at each step
> 
> Adjust the help file and add hints - and test those as well
> 
> 4. Fix as needed and retest
> 
> 5. Publish
> 
> 6. Try to find virgin testers for next time, varying in age and mindset
> 
> Does that sound about right?
> 
> Sent from my iPhone
> 
>> On Jul 7, 2017, at 1:53 PM, jonathandly...@gmail.com wrote:
>> 
>> Thank you, Jacqueline 
>> 
>> Sent from my iPhone
>> 
>>> On Jul 7, 2017, at 1:39 PM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> http://hyperactivesw.com/resources_testing.html
>>> 
>>> 
 On July 7, 2017 6:59:52 AM Jonathan Lynch via use-livecode 
  wrote:
 
 What steps do you guys follow for accurate testing when you don't have a 
 budget for proper official testing procedures?
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.com
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: "Silly" fun for the weekend

2017-07-15 Thread Scott Rossi via use-livecode
Mark, Monument Valley isn’t Apple, it's Ustwo Games. Blame them :-)

If MV2 isn’t in the Play Store yet, have you gotten ahold of the add-ons for 
MV1?
Forgotten Shores and Ida’s (RED) Dream?  Definitely worth purchasing, IMO.

Generally, people seem to be complaining that the challenge in the new version 
is lower than v1.  But there are some new mechanics to be played, there are 
some touching moments between the new characters, and the splitting of story 
between the characters is quite creative.

The best description I ever read of the game: “Monument Valley isn't a game, 
it’s an experience.”  It won an Apple Design Award for good reason.

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Jul 14, 2017, at 7:16 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 07/14/2017 06:53 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
> 
>> Monument Valley just released their latest.
> 
> But  not for Android yet.
> ...damn you, Apple...
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Momentum Scrolling Script

2017-06-28 Thread Scott Rossi via use-livecode
Hi Jonathan:

Just doing some simple tests, your script is great.  Thanks for sharing it on 
the list.

Two minor improvements I would suggest:

1) After the mouseUp handler, add a mouseRelease handler to trigger 
deceleration/stop when the mouse is released outside of the target control.

on mouseRelease
   mouseUp
end mouseRelease

2) In the mouseMove handler, use the built-in parameters provided by the 
handler instead of reading the mouseV. Probably not a huge deal in the scheme 
of things, but might add a tiny bit more efficiency to the script.

on mouseMove X,Y
  if allowDrag <> empty then
 set the vScroll of me to (allowDrag-Y)
  end if
end mouseMove 

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Jun 28, 2017, at 9:05 AM, Jonathan Lynch via use-livecode 
>  wrote:
> 
> I just created and tested a momentum scrolling script on my iPhone, and it
> appears to work quite well, so I thought I would share it here.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[OT] Today's Google Doodle/Theme

2017-04-28 Thread Scott Rossi via use-livecode
Note today’s Google doodle topic is especially appropriate for the LC community.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [OT] Today's Google Doodle/Theme

2017-04-28 Thread Scott Rossi via use-livecode
Then don’t look in the Balkans.

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Apr 28, 2017, at 11:18 AM, Richmond Mathewson via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Not showing up in the Balkans.
> 
> Richmond.
> 
> On 4/28/17 9:06 pm, Scott Rossi via use-livecode wrote:
>> Note today’s Google doodle topic is especially appropriate for the LC 
>> community.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Points of Graphic Oval

2017-07-30 Thread Scott Rossi via use-livecode
You can use the effectivePoints to get the points of any graphic shape, but 
depending on the size, your oval may produce too many points.

In any event, your source oval doesn't need to be perfect. If you reference a 
"decent" number of points along the shape of the oval, your image will have the 
appearance of moving along an elliptical path.

Regards,

Scott Rossi

> On Jul 30, 2017, at 9:06 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> 1) draw graphic  oval  name:  "moveClue1"
> 2) create small image "word_1"
> 
> move image "word_1" to the points of grc "moveClue1" in 2 seconds
> 
> test:
> 
> point the points of graphic "moveClue1"
> 
> result: empty
> 
> check dictionary: yep, oval are not among the objects with points ☹
> 
> OK, so how can we generate the points of  a perfect oval?
> 
> BR
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: SVG widget?

2017-05-13 Thread Scott Rossi via use-livecode
Maybe it’s more accurate to say “one single path definition” because you aren’t 
limited to a single vector path.  You can create compound graphics from 
multiple paths as is done in many icons and graphics.

For example:
go url "http://tactilemedia.com/download/svg_sample.livecode;

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On May 13, 2017, at 6:56 AM, hh via use-livecode 
>  wrote:
> 
> The widget SVG Icon is set up to display at most ONE SINGLE path,
> no matter where the path comes from.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: how to download an image

2017-06-03 Thread Scott Rossi via use-livecode
Remove the first "binfile" usage, so your code reads like this:

put URL tNewImageLink into URL ("binfile:" & tNewFolder & "/" &
tNewImageName)


I used the following to test download to the desktop and it works as
expected:

put 
"http://s3.amazonaws.com/appforest_uf/f1496548544475x140387106221169240/gri
lled_cheese_on_plate.jpg" into theURL
put url theURL into url ("binfile:" & specialFolderPath("desktop") &
"/DLimage.jpg")


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design





On 6/3/17, 9:38 PM, "use-livecode on behalf of Matt Maier via
use-livecode"  wrote:

>I'm trying to download an image to a file but it's always 0kb
>
>Here's an example of the URL I've got //
>s3.amazonaws.com/appforest_uf/f1496548544475x140387106221169240/grilled_ch
>eese_on_plate.jpg
>
>*put* URL ("binfile:" & tNewImageLink) into URL ("binfile:" & tNewFolder &
>"/" & tNewImageName)
>
>
>*get* url tNewImageLink
>
>*put* it into URL ("binfile:" & tNewFolder & "/" & tNewImageName)
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Instantiaing Grouped Controls - Templates - Responsive

2017-06-13 Thread Scott Rossi via use-livecode
My understanding is, “before” and “after” are really only intended to work with 
mouse events.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Jun 13, 2017, at 12:24 PM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> OK so *why* is 
> 
> before mouseup  # valid syntax
> 
> But
> 
> before show # invalid


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Click Download in Browser Widget?

2017-06-11 Thread Scott Rossi via use-livecode
If I click the download link on a page being displayed in the browser widget, 
what happens with the linked file?  Does the download take place and if so, is 
the file accessible somehow?

Thanks & Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: clipsToRect property (was Re: Instantiaing Grouped Controls - Templates - Responsive)

2017-06-13 Thread Scott Rossi via use-livecode
Keep in mind, there’s also the lockUpdates property of groups, which while 
differing mechanically “under the hood”, essentially causes the same perceived 
result — while enabled, a group’s rect is not changed when its child objects 
are resized/repositioned.

I don’t know how all these are verbosely named since I also use the default 
property names.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On Jun 13, 2017, at 3:37 PM, Devin Asay via use-livecode 
>  wrote:
> 
>> 
>> On Jun 13, 2017, at 4:19 PM, Devin Asay via use-livecode 
>>  wrote:
>> 
>> Yes, in essence. If you have a group and set the clipsToRect property to 
>> true (there’s no way to set it in the PI yet—that’s what I’m going to add), 
>> you can then change the rect of the group, and the group will *not* 
>> automatically reset its rect to the size of the child controls + margin. It 
>> is persistent, even if you leave the card or close the stack. Yet the 
>> group’s position and size remains unlocked so you can quickly select and 
>> change the group’s rect if you want. A nice feature when you need it.
>> 
>> ClipsToRect is the property name. So what “plain language” label do you 
>> think would be best for the PI?
> 
> How about “Prevent auto-resize of rect”?
> 
>> 
>> Devin
>> 
>> 
>> 
>> On Jun 13, 2017, at 4:11 PM, Phil Davis via use-livecode 
>> > wrote:
>> 
>> So it's about manually updating the rect vs. having it in an auto-update 
>> mode?
>> 
>> Phil Davis
>> 
>> 
>> On 6/13/17 3:01 PM, Devin Asay via use-livecode wrote:
>> So far I’m kind of partial to Scott R’s “Persistent rect”. Conversely, it 
>> could be something like “Auto-update rect”, but then the checkbox would be 
>> opposite the property setting. That’s almost as bad as something like 
>> dontUpdateRect. (Sorry, Scott, plug your ears.)
>> 
>> Devin
>> 
>> 
>> On Jun 13, 2017, at 3:34 PM, J. Landman Gay via use-livecode 
>> >
>>  wrote:
>> 
>> On 6/13/17 4:17 PM, Jim Lambert via use-livecode wrote:
>> or
>> ‘Clip Group to rect’
>> 
>> There are a few others like that, where the explanation is just the original 
>> term (or close) with spaces added. I always felt that didn't explain much. 
>> But the suggestion does have company in the PI.
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Instantiaing Grouped Controls - Templates - Responsive

2017-06-13 Thread Scott Rossi via use-livecode


The most important rule to follow when establishing any new property should be: 
Don't use "dont".

The application of a "negative property" should never have been established 
(dontWrap, I'm talking to you).  Properties should always be non-negative and 
simply enabled or disabled depending on the default behavior.



In this case, I get that you're referring to readable label, so there's more 
flexibility here of course, I just needed to vent :-)

The above said, you're right, this is a tricky case.  IMO the real 
differentiation here is that the rect of the *unlocked* group remains 
unaffected by the locations of its child objects.  Since you know the control 
is a group, maybe the verbose label is something like "persistent rect" since 
the rect will, for the most part, remain constant.

Maybe I'm forgetting something...

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Jun 13, 2017, at 9:27 AM, Devin Asay via use-livecode 
>  wrote:
> 
> 
> On Jun 12, 2017, at 11:45 PM, Mark Waddingham via use-livecode 
> > wrote:
> 
> On 2017-06-12 22:22, Richard Gaskin via use-livecode wrote:
> For group controls you will find that it is. Try it.  It's quite handy.
> 
> Another useful thing which I'm not sure is particularly visible (but is in 
> the dictionary!) is the group 'clipsToRect' property.
> 
> When 'the clipsToRect' is set to true you get a group which acts like 
> lockLocation is set, but is resizable. In  this case the group's size is 
> determined purely by the rect it has set, and not the union of the rectangles 
> of its children.
> 
> This might have been mentioned somewhere else in this thread, but its 
> probably worth repeating if so as a group with clipsToRect true, and a 
> resizeControl handler makes a good base for a custom control.
> 
> It’s not visible in the PI, but it’s not hard to add. I’d be happy to make a 
> pull request for it. The main question is what would be the “readable label” 
> of this property? (My current favorite is the first one.)
> 
>  - Group rect remains fixed
>  - Fixed group rect
>  - Lock group rect
>  - Group rect is fixed
>  - Don’t change group rect
>  - Group rect is independent of child controls
>  - Prevent group rect size when child objects move or resize
> 
> It’s a tricky balance between clear enough and short enough.
> 
> Ideas?
> 
> Devin
> 
> 
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: English Like?

2017-05-24 Thread Scott Rossi via use-livecode
@Mark — the sequence/direction is clockwise, if that helps.  So top -> left… 
doesn’t work.

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 



> On May 24, 2017, at 12:35 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 05/24/2017 12:25 PM, Alex Tweedly via use-livecode wrote:
>> constant kRectLeft = 1, kRectTop = 2, kRectRight = 3, kRectBottom = 4
>> (or whatever ... haven't looked it up :-)
> 
> Exactly the point.
> I'd have to store this somewhere, and either grab it each time I need it or 
> look it up and reinvent it each time.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Map Widget with Custom Marker

2018-12-18 Thread Scott Rossi via use-livecode
Hi All:

Wondering if it's possible to use a custom marker with the map widget.  I
want to continuously track and show the user's location with a custom icon,
but can't find any way to overlay an image on the widget, as it seems to be
the equivalent of a web view.

Thanks for any suggestions.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Map Widget with Custom Marker

2018-12-18 Thread Scott Rossi via use-livecode
Thank you for the response, but getting a forum error 172729 doesn't
exist(?).

On Tue, Dec 18, 2018 at 2:09 PM Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It is a native layer so it the only LC object that would work would be
> another browser widget.  There was a demo a while back of doing that.
>
> http://forums.livecode.com/viewtopic.php?p=172729#p172729
>
> Thanks,
> Brian
> On Dec 18, 2018, 3:52 PM -0600, Scott Rossi via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> > Hi All:
> >
> > Wondering if it's possible to use a custom marker with the map widget. I
> > want to continuously track and show the user's location with a custom
> icon,
> > but can't find any way to overlay an image on the widget, as it seems to
> be
> > the equivalent of a web view.
> >
> > Thanks for any suggestions.
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode