icons

AutoHotKey, Updating Icons

那年仲夏 提交于 2020-01-16 07:41:26
问题 So i have a problem with updating the icon for my gui. I want to have it so when i press a button the icon changes, and when i press another button it changes to a different icon. I can change the icon once when i create the gui with this script: gui, show, w0 h0 Menu, Tray, Icon, %A_WorkingDir%\Files\Red_Icon.ico, 1, 1 gui, destroy But i cant seem to be able to change it multiple times So im wondering how i change the icon multiple times/How to uppdate to icon 回答1: If you just want to toggle

Combine two applications into one icon on taskbar

给你一囗甜甜゛ 提交于 2020-01-16 04:35:06
问题 I have two applications. One is the main application and the other is the updater. A user launches with the updater - if an update is available it will download and extract, otherwise it will just launch the main application. I used two applications for this so that I am able to overwrite the main applcation. The issue is that the users have pinned the "Launcher" application on their taskbar, but when the main application launches it is not grouped under that icon and very confusing for them.

How do you change Material Icon permanently using CSS and HTML?

送分小仙女□ 提交于 2020-01-15 12:07:12
问题 I am trying to change the icon permanently from "add" to "done" after I click the icon. If I click the icon again, it should change from "done" to "add." I am wondering if it is possible to do this with CSS without using Javascript. .material-icons::before { content: "add"; } section:active .material-icons::before { /*background-color: red;*/ content: "done"; } <link href="https://fonts.googleapis.com/icon?family=Material+Icons|Open+Sans" rel="stylesheet"> <section> <span id="btn1" class=

How do I get an Icon on a .jar file?

痞子三分冷 提交于 2020-01-15 09:45:42
问题 I have written a program in java, and I am able to execute it as a jar file. I was wondering two things. one, how would I make the .jar file have a desktop icon other than the standard java icon. and two, I am using netbeans, how would I create a .exe file instead of a .jar file? 回答1: Like Kitsune said, you can make an executable file. The Java packager I'm most familiar with is Launch4J. It's highly configurable and can be called from Ant scripts, so it can easily integrate into an existing

How to change JButton Icon when selected?

点点圈 提交于 2020-01-14 13:47:07
问题 I Want to change the JButton icon when user press/release the button. A icon image when the JButton were selected A icon image when the JButton were unselected and the JButton were release: How can I do this? 回答1: JButton b = new JButton(Icon x); // Create button with normal icon b.setIcon(Icon x); b.setDisabledIcon(Icon x); b.setPressedIcon(Icon x); b.setSelectedIcon(Icon x); b.setDisabledSelectedIcon(Icon x); ref: http://www.leepoint.net/notes-java/GUI/components/20buttons/23buttonicons

Cannot replace default icon in android studio

两盒软妹~` 提交于 2020-01-14 11:35:55
问题 The image I am trying to replace the default icon with is 512x512px .png. To change the icon I go app/res [new; image asset;...]. It won't let me replace or create new icon set in the @drawable. My most recent thought are that I might not have unlocked some priveges but I am able edit contents of drawable by directly accessing it's location Any ideas? 回答1: The new version of android studio put default launcher icon(ic_launcher.png) in mipmap-xxx directories, so just copy and paste your new

Reload / Refresh tab bar items in a ViewController ?

痞子三分冷 提交于 2020-01-14 10:30:08
问题 I am trying to change images of my tabbar in a ViewController, but to display the new images, I must click on each tab bar item. for (CustomTabBarItem *myItem in self.tabBarController.tabBar.items){ myItem.enabled = YES; myItem.badgeValue = @"1"; UIImage *myImage = [[UIImage alloc] initWithContentsOfFile:[[DesignManager sharedManager] getPathOfFile:@"test.png"]]; *myItem.imageSelect= *myImage; // change images of each item. don't appear if I dont click on the item } Anyone know How can I can

How to change app icon in taskmanager

雨燕双飞 提交于 2020-01-14 04:48:08
问题 I have some windows application that can change his icon, using win api functions SendMessage(hwnd, WM_SETICON, ICON_BIG, icon_handle); SendMessage(hwnd, WM_SETICON, ICON_SMALL, icon_handle); Shell_NotifyIcon(...); It changes icon in taskbar and tray (taskbar notification area), but icon in taskmanager still not changed . How can I change icon in taskmanager? Is it possible? 回答1: From this SO answer It's important to change all icons, including the application, both small and big: //Change

BottomNavigationView set custom icon downloaded from some url

走远了吗. 提交于 2020-01-14 03:41:12
问题 I have 4 tabs on the bottom of the screen and for the last tab I want to set a user profile image if he has it. I tried everything. Only the icon set from a drawable works fine. Every other case is a disaster. I found out that if I remove icon tint and icon mode on android versions above 26 it works fine. For versions under it, it's not working. Here is the code. Maybe somebody will have some ideas about how to help. This is how i set the icon from a drawable. This imageView is just a test to

Use icon fonts in xpages

时光总嘲笑我的痴心妄想 提交于 2020-01-14 02:31:23
问题 I want to use icon (awesome) fonts in my xpage. I downloaded it and put them into my webContent folder (as all my additional stuff. e.g. bootstrap). I modified the awesome.css as followed. @font-face { font-family: "FontAwesome"; src: url('/font/fontawesome-webfont.eot'); src: url('/font/fontawesome-webfont.eot?#iefix') format('eot'); src: url('/font/fontawesome-webfont.woff') format('woff'); src: url('/font/fontawesome-webfont.ttf') format('truetype'); src: url('/font/fontawesome-webfont.svg