1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-05-31 22:41:37 +00:00
6502bench/SourceGen/Res/Theme_Dark.xaml
Andy McFadden e6c5c7f8df ORG rework, part 6
Added support for non-addressable regions, which are useful for things
like file headers stripped out by the system loader, or chunks that
get loaded into non-addressable graphics RAM.  Regions are specified
with the "NA" address value.  The code list displays the address field
greyed out, starting from zero (which is kind of handy if you want to
know the relative offset within the region).

Putting labels in non-addressable regions doesn't make sense, but
symbol resolution is complicated enough that we really only have two
options: ignore the labels entirely, or allow them but warn of their
presence.  The problem isn't so much the label, which you could
legitimately want to access from an extension script, but rather the
references to them from code or data.  So we keep the label and add a
warning to the Messages list when we see a reference.

Moved NON_ADDR constants to Address class.  AddressMap now has a copy.
This is awkward because Asm65 and CommonUtil don't share.

Updated the asm code generators to understand NON_ADDR, and reworked
the API so that Merlin and cc65 output is correct for nested regions.

Address region changes are now noted in the anattribs array, which
makes certain operations faster than checking the address map.  It
also fixes a failure to recognize mid-instruction region changes in
the code analyzer.

Tweaked handling of synthetic regions, which are non-addressable areas
generated by the linear address map traversal to fill in any "holes".
The address region editor now treats attempts to edit them as
creation of a new region.
2021-09-30 21:11:26 -07:00

53 lines
2.6 KiB
XML

<!--
Copyright 2019 faddenSoft
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:SourceGen.Res">
<!-- colors for ListView and ListViewItem (see CodeListItemStyle.xaml) -->
<SolidColorBrush x:Key="Brush_ListViewForeground" Color="White"/>
<SolidColorBrush x:Key="Brush_ListViewBackground" Color="Black"/>
<SolidColorBrush x:Key="Brush_ListViewGreyText" Color="DarkGray"/>
<Color x:Key="Color_HoverFill0">#FF787D7F</Color>
<Color x:Key="Color_HoverFill1">#FF6A787F</Color>
<Color x:Key="Color_SelectedFill0">#FF6C7A7F</Color>
<Color x:Key="Color_SelectedFill1">#FF4D6E7D</Color>
<Color x:Key="Color_SelectedInactiveFill0">#FF777777</Color>
<Color x:Key="Color_SelectedInactiveFill1">#FF6E6E6E</Color>
<Color x:Key="Color_SelectedHoverFill0">#FF757C7F</Color>
<Color x:Key="Color_SelectedHoverFill1">#FF64767E</Color>
<Color x:Key="Color_HighlightedCellFill0">#FF6C7F7A</Color>
<Color x:Key="Color_HighlightedCellFill1">#FF4D7D6E</Color>
<!-- I think the selection borders need to stay bright; otherwise it's hard to see
when you've selected highlighted notes. Dim them a little with alpha. -->
<SolidColorBrush x:Key="Brush_MouseOverBorder" Color="#7FCCF0FF"/>
<SolidColorBrush x:Key="Brush_SelectedBorder" Color="#7F98DDFB"/>
<SolidColorBrush x:Key="Brush_SelectedActiveBorder" Color="#7FCFCFCF"/>
<SolidColorBrush x:Key="Brush_SelectedMouseOverBorder" Color="#7F98DDFB"/>
<!--<SolidColorBrush x:Key="Brush_MouseOverBorder" Color="#FF66787F"/>
<SolidColorBrush x:Key="Brush_SelectedBorder" Color="#FF4C6E7D"/>
<SolidColorBrush x:Key="Brush_SelectedActiveBorder" Color="#FF676767"/>
<SolidColorBrush x:Key="Brush_SelectedMouseOverBorder" Color="#FF4C6E7D"/>-->
<SolidColorBrush x:Key="Brush_UpperHighlight" Color="#757F7F7F"/>
<SolidColorBrush x:Key="Brush_SelectedUpperHighlight" Color="#407F7F7F"/>
</ResourceDictionary>