Home
last modified time | relevance | path

Searched refs:is_dark (Results 1 – 25 of 70) sorted by relevance

123

/dports/devel/py-pyface/pyface-7.2.0/pyface/util/tests/
H A Dtest_color_helpers.py14 channels_to_ints, ints_to_channels, is_dark, relative_luminance
118 result = is_dark(rgb)
123 result = is_dark(rgb)
128 result = is_dark(rgb)
133 result = is_dark(rgb)
138 result = is_dark(rgb)
143 result = is_dark(rgb)
148 result = is_dark(rgb)
153 result = is_dark(rgb)
158 result = is_dark(rgb)
[all …]
/dports/devel/p5-MouseX-AttributeHelpers/MouseX-AttributeHelpers-0.07/t/
H A D21_ro_bool.t17 not => 'is_dark'
34 not => 'is_dark'
45 my @providers = qw(illuminate darken flip_switch is_dark);
52 ok !$room->is_dark, 'set and not op ok';
56 ok $room->is_dark, 'unset and not op ok';
60 ok !$room->is_dark, 'toggle and not op ok';
64 ok $room->is_dark, 'toggle and not op again ok';
H A D04_bool.t17 not => 'is_dark'
24 my @providers = qw(illuminate darken flip_switch is_dark);
31 ok !$room->is_dark, 'set and not op ok';
35 ok $room->is_dark, 'unset and not op ok';
39 ok !$room->is_dark, 'toggle and not op ok';
43 ok $room->is_dark, 'toggle and not op again ok';
/dports/devel/p5-Moose/Moose-2.2201/t/native_traits/
H A Dtrait_bool.t18 is_dark => 'not',
77 ok( !$obj->is_dark, 'check if is_dark does the right thing' );
83 ok( $obj->is_dark, 'check if is_dark does the right thing' );
89 ok( !$obj->is_dark, 'check if is_dark does the right thing' );
96 ok( $obj->is_dark, 'check if is_dark does the right thing' );
/dports/devel/p5-MooX-HandlesVia/MooX-HandlesVia-0.001009/t/from-moose/
H A Dtrait_bool.t20 is_dark => 'not',
77 ok( !$obj->is_dark, 'check if is_dark does the right thing' );
84 ok( $obj->is_dark, 'check if is_dark does the right thing' );
91 ok( !$obj->is_dark, 'check if is_dark does the right thing' );
99 ok( $obj->is_dark, 'check if is_dark does the right thing' );
/dports/devel/p5-MouseX-NativeTraits/MouseX-NativeTraits-1.09/t/070_native_traits/
H A D020_trait_bool.t19 is_dark => 'not',
78 ok( !$obj->is_dark, 'check if is_dark does the right thing' );
84 ok( $obj->is_dark, 'check if is_dark does the right thing' );
90 ok( !$obj->is_dark, 'check if is_dark does the right thing' );
97 ok( $obj->is_dark, 'check if is_dark does the right thing' );
/dports/devel/p5-MooseX-AttributeHelpers/MooseX-AttributeHelpers-0.25/t/
H A D208_trait_bool.t29 ok !$room->is_dark, 'check if is_dark does the right thing';
33 ok $room->is_dark, 'check if is_dark does the right thing';
37 ok !$room->is_dark, 'check if is_dark does the right thing';
41 ok $room->is_dark, 'check if is_dark does the right thing';
H A D012_basic_bool.t29 ok !$room->is_dark, 'check if is_dark does the right thing';
33 ok $room->is_dark, 'check if is_dark does the right thing';
37 ok !$room->is_dark, 'check if is_dark does the right thing';
41 ok $room->is_dark, 'check if is_dark does the right thing';
/dports/devel/git-cola/git-cola-3.10.1/cola/
H A Dthemes.py19 self, name, hr_name, is_dark, style_sheet=EStylesheet.DEFAULT, main_color=None argument
23 self.is_dark = is_dark
37 if palette_dark and self.is_dark:
39 if not palette_dark and not self.is_dark:
41 if self.is_dark:
128 if self.is_dark:
/dports/deskutils/gnome-todo/gnome-todo-41.0/src/gui/
H A Dgtd-theme-selector.c54 gboolean is_dark = g_strcmp0 (g_variant_get_string (variant, NULL), "dark") == 0; in style_variant_to_boolean() local
56 g_value_set_boolean (value, is_dark); in style_variant_to_boolean()
69 gboolean is_dark; in setup_action() local
75 is_dark = g_strcmp0 (self->theme, "dark") == 0; in setup_action()
78 "gtk-application-prefer-dark-theme", is_dark, in setup_action()
/dports/security/yubioath-desktop/yubioath-desktop-yubioath-desktop-5.0.4/py/qr/
H A Dqrparse.py15 def is_dark(pixel): function
29 if is_dark(pixel): # Dark pixel
61 matching_dark = not is_dark(line[x_offs])
65 if is_dark(pixel): # Dark pixel
90 qr_line.append(is_dark(img_line[x]))
/dports/x11-wm/awesome/awesome-4.3/themes/gtk/
H A Dtheme.lua34 local function is_dark(color_value) function
65 return darker(color, is_dark(color) and -ratio or ratio)
69 if is_dark(reference) then
70 if not is_dark(candidate1) then
76 if is_dark(candidate1) then
337 if not is_dark(theme.bg_normal) then
/dports/multimedia/qpwgraph/qpwgraph-71edb283e7b5d4429d5ef9951de6b740afb07790/src/
H A Dqpwgraph_node.cpp51 const bool is_dark = (base_value < 128); in qpwgraph_node() local
54 QColor foreground_color(is_dark in qpwgraph_node()
60 QColor background_color(is_dark in qpwgraph_node()
341 const bool is_dark in paint() local
343 m_text->setDefaultTextColor(is_dark in paint()
H A Dqpwgraph_port.cpp251 const bool is_dark in paint() local
253 m_text->setDefaultTextColor(is_dark in paint()
338 const bool is_dark = (color.value() < 128); in updatePortTypeColors() local
339 qpwgraph_item::setForeground(is_dark in updatePortTypeColors()
/dports/x11-toolkits/libadwaita/libadwaita-8442d6097b36c17e87582525ceab3ce3d5bccd48/src/
H A Dadw-application.c72 gboolean is_dark, is_hc, is_hc_dark; in update_stylesheet() local
79 is_dark = !g_strcmp0 (theme_name, "Adwaita-dark"); in update_stylesheet()
84 style_provider_set_enabled (priv->dark_style_provider, is_dark || is_hc_dark); in update_stylesheet()
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/telegram/
H A DBackgroundType.h61 bool is_dark() const;
114 bool is_dark() const { in is_dark() function
116 return fill_.is_dark(); in is_dark()
/dports/x11-themes/materia-gtk-theme/materia-theme-20210322/
H A Dchange_color.sh14 is_dark() { function
167 if is_dark "$BG"; then
170 elif is_dark "$HDR_BG"; then
/dports/finance/gnucash/gnucash-4.9/gnucash/gnome-utils/
H A Dgnc-gtk-utils.c238 gboolean is_dark = FALSE; in gnc_is_dark_theme() local
244 is_dark = TRUE; in gnc_is_dark_theme()
246 return is_dark; in gnc_is_dark_theme()
/dports/deskutils/calibre/calibre-src-5.34.0/src/pyj/read_book/
H A Dhighlights.pyj43 def builtin_color(which, is_dark):
47 def default_color(is_dark):
48 return builtin_color('yellow', is_dark)
86 def make_swatch(self, container, is_dark):
118 bg = builtin_color(s.which, is_dark)
120 bg = s.dark if is_dark else s.light
128 def highlight_shade(self, is_dark):
137 return builtin_color(s.which, is_dark)
139 return s.dark if is_dark else s.light
173 bg = builtin_color(s.which, is_dark)
[all …]
/dports/devel/py-pyface/pyface-7.2.0/pyface/
H A Dcolor.py28 from pyface.util.color_helpers import channels_to_ints, ints_to_channels, is_dark
92 is_dark = Property(Bool, depends_on='rgba') variable in Color
262 return is_dark(self.rgb)
/dports/ftp/filezilla/filezilla-3.55.1/src/interface/
H A DStatusView.cpp340 const bool is_dark = background.Red() + background.Green() + background.Blue() < 384; in InitDefAttr() local
362 if (is_dark) { in InitDefAttr()
371 if (is_dark) { in InitDefAttr()
383 if (is_dark) { in InitDefAttr()
392 if (is_dark) { in InitDefAttr()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/favicon/
H A Dfavicon_utils.cc163 bool is_dark = native_theme && native_theme->ShouldUseDarkColors(); in GetDefaultFavicon() local
164 int resource_id = is_dark ? IDR_DEFAULT_FAVICON_DARK : IDR_DEFAULT_FAVICON; in GetDefaultFavicon()
/dports/devel/py-pyface/pyface-7.2.0/pyface/util/
H A Dcolor_helpers.py95 def is_dark(rgb): function
/dports/devel/py-clikit/clikit-0.6.2/src/clikit/adapter/
H A Dstyle_converter.py21 if style.is_dark():
/dports/games/vultures-eye/vulture-2.3.67/vulture/winclass/
H A Dmap.cpp118 bool is_dark = (map_data->get_glyph(MAP_DARKNESS, j, i) == 2); in draw() local
122 (level.locations[j][i].seenv && is_dark))) { in draw()

123